Search:
Type: Posts; User: Mavens
Search:
Search took 0.02 seconds.
-
April 12th, 2015, 07:12 AM
Hi,
I am new to PHP but not to programming languages. Recently i have been developing one website in PHP. In website i want facility for user to upload documents and i have done it. Now I want a...
-
Are you creating your filePath string with escape sequences for directories?
eg. "c:\\C++\\test.txt"
-
About Android i cannot comment. But this is a simple thing you can always check your header files about the signature.
As i have verified it on SunOS at /usr/include/sys/mount.h and found the...
-
The signature of mount is different for BSD System Calls.
man page
-
What do you think, what you are doing here? Is it doing what you are supposing?
-
April 8th, 2009, 01:25 AM
I have taken valueItems as vector now. And now it is taking lots of time to load around 41109 records in memory. It is showing high memory usage as well as. Can you see what i am doing wrong.
...
-
March 26th, 2009, 09:17 AM
well when i was doing this
It was giving segmantation fault. Might be i havnt allocated memory for secondVal thats why!
But my actual question was, will this overloaded operator work in this...
-
March 26th, 2009, 07:26 AM
true. I was asking if i constructed class as below.
class valueItems{
public:
float firstVal;
char* secondVal;
float thirdVal;
valueItems(float ii,float kk){
-
March 26th, 2009, 07:01 AM
Thanks guys,
But what about valueItems?
typedef map<keyItems,valueItems> typeLookup;
Will it work if i have more than 1 value?
bool operator >(const valueItems &left) const {
...
-
March 25th, 2009, 06:25 AM
I have to use map with user defined key and values. for that i have created code and using in my program.
Key class:
class keyItems{
int firstKey;
int secondKey;
public:
...
-
October 7th, 2008, 01:21 PM
By code do you mean definition file?
Let me know when you are done.
-
October 4th, 2008, 12:29 AM
See what you did in impl.cpp
//string name;
uncomment this line.
-
October 3rd, 2008, 04:06 PM
compile it using g++,
and use using namespace std.
-
October 3rd, 2008, 12:01 PM
Okay, its easy.
See i have written it for TextString (which is your new field) in example below.
Extension::={
[0] IMPLICIT SEQUENCE {
[1] ...
[2] ...
[3] IMPLICIT Digest OPTIONAL...
-
October 2nd, 2008, 11:25 AM
Ok.
Do you mean that you want to create a definition file.
Please see these links, it may help you.
http://www.faqs.org/rfcs/rfc3369.html
http://en.wikipedia.org/wiki/ASN.1
Let me know if it...
-
October 2nd, 2008, 06:50 AM
Are you working with ASN.1. Which library you are using?
Please be more specific on your problem.
-
October 2nd, 2008, 06:45 AM
I think both the declaration give the same limitations that is it can not modify any data members or call any member functions that aren't constant as well as cannot change the object.
-
September 29th, 2008, 12:03 PM
Man if i read a file using fgets() and as you said "no lines in binary file" then the whole file will be in the buffer!!! Come on...
fgets reads at most one less than the number of characters...
-
September 28th, 2008, 12:47 PM
Well i can give you hint to wirte the function.
In a Parsefunction
Read first line into a buffer, if reading file returns EOF then return 1 else
parse the buffer and assign it to respective...
-
September 28th, 2008, 12:31 PM
many problems.
Correct spelling of "include".
remove "include<iostream.h>"
what do you want to do with these
entrys.orville;
entrys.tiffany;
-
September 28th, 2008, 11:50 AM
i think there is no other way except of parsing and populating structure member items. You have to write a function to populate struct then only function can read directly to struct, not you!!! ;)
-
September 28th, 2008, 11:30 AM
remove semicolon after closing braces of if condition
if(!commitBuffer()){
err = INVALID;
goto ret;
};
Do it
-
September 27th, 2008, 11:40 PM
First thing, You can make a check whether your command executed or not.
execvp(*argv, argv) returns -1 if it fail. You can catch error in perrror as well.
Second. Print what exactly you are passing...
-
September 27th, 2008, 11:06 PM
I used Visual studio 2005. You need to just select vc++ for 64 bit while installing visual studio. default it installs only vc++ 32 bit. Visual Studio has some service pack also you may need to...
-
September 27th, 2008, 01:32 PM
Yeah you are absolutely right.
Which compiler do you have? where you want to compile it, windows or linux??
|
Click Here to Expand Forum to Full Width
|