Type: Posts; User: Tronfi
Search took 0.01 seconds.
July 26th, 2010, 03:12 AM
Hi people. I'm having some problems with reporting and I thought you could help me (( .NET 2.0 )):
I have created a DataSet (mydata.xsd) trhough the IDE. I also have designed a Report.rdlc, and I...
void position (char, char *);
int main (void);
April 27th, 2009, 01:41 PM
You need a main function.
April 7th, 2009, 08:14 PM
I have not read all your code, but try this:
cin >> user_choice;
case 'A': counting_loop();
case 'B': impossible();
April 5th, 2009, 12:52 PM
I know it's not neccesary to create a class, but I supoussed (maybe wrongly) that it was what he wanted. I thought he knew how to use string (I said how to make an array of strings in the beginning...
April 5th, 2009, 08:53 AM
int x, y;
April 5th, 2009, 07:43 AM
Strings: string items;
General: myclass items;
To retrieve the item "n" from the string solution, just items[n].
To retrieve the item "n" from the "myclass" solution, overload the operator...
March 31st, 2009, 02:46 PM
March 29th, 2009, 01:31 PM
Be careful. 2484 is an integer, but not a digit. I have no time to check it, sorry.
PD: You can read a char* and then check if num[i] is a digit.
March 27th, 2009, 06:37 AM
Thanks for the response Paul.
I have to compare the performance using STL and dont using it, so in this case i can't use any container.
You're right about calling the variable "vector". I'll...
March 26th, 2009, 08:01 PM
I'm having some troubles when I try to delete some pointers.
I have a structure like this:
March 24th, 2009, 09:23 AM
I don't know what's a caller. Assuming it's a function, why don't you use a vector to store them, and then pass the vector as an argument of the function?
March 23rd, 2009, 08:17 AM
That looks like 3DStudioMax9+Photoshop CS15+FreeHand23 :lol:
March 23rd, 2009, 08:14 AM
Try manual compiling:
g++ install.cpp drupal.cpp -o install
(I agree with potatoCode).
March 23rd, 2009, 07:23 AM
Is Drupal.h in the same directory as install.cpp?
I don't see anything wrong. How are you compiling it?
March 22nd, 2009, 06:39 PM
I realised what i've written after post it. I edit it quickly, but you were faster :cool: . You're totally right.
March 22nd, 2009, 06:36 PM
I don't understant it. What is the checkerboard?
There is no other way, you will have to redraw it.
March 22nd, 2009, 06:29 PM
To move to a specific place, use seekg. With that and a counter, you will be able to read just the first "900". Probably, you will have to cast it to an int.
Other way: ignore.
March 21st, 2009, 07:22 AM
March 21st, 2009, 07:21 AM
Maybe you could be more especific... Show your code, for example.
March 19th, 2009, 08:11 PM
That code is a free pass to hell.
March 19th, 2009, 01:09 PM
Create an instance of that class, set it a radius and then print it:
March 14th, 2009, 02:03 PM
And I guess int doesn't have destructor, does it?
March 14th, 2009, 01:57 PM
Why you think so? After delete the pointer, v is still accesible.
March 14th, 2009, 01:47 PM
string *A = new string ;
string *B = A;
delete  B;
Do you really think that delete  B will delete the array? It will not. I will just delete the pointer *B, with a size of 4 bytes.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.