Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~4K People Reached
Favorite Forums

10 Posted Topics

Member Avatar for drock9975

I've never seen this before and am perplexed beyond belief... by the way I'm using Visual Studio I have a rather large program/game i'm working on right now, and it reads in via ifstream file i/o from binary files in several locations to initialize variables. For some reason for one …

Member Avatar for drock9975
0
195
Member Avatar for drock9975

just a simple question that has been driving me bonkers for a few hours, but I'm new to MFC and haven't encountered this until today I've implemented serialization in my current project and set the modify flag appropriately... when I select "New" or "Exit" in my menu the program correctly …

Member Avatar for Ancient Dragon
0
144
Member Avatar for Toshkin78

[QUOTE=Toshkin78]Im having trouble sending a bool type to a function which returns a char string to a string. I have provided the code below [CODE] char outin(char *string,bool *bl) // this doesn't work { if (bl==1){ string = "in"; } else if (bl==0) { string = "out"; } return string; …

Member Avatar for Toshkin78
0
1K
Member Avatar for smallville

[QUOTE=smallville][CODE] for(j=1; j<=lines; j++) { for(i=1; i<=lines; i++) { cout << " "; } for(i=1; i<=j; i++) { cout << "*"; } cout << endl; } } [/CODE] the problem is with the for loops and the numbers you are using for the test program if the first for loop …

Member Avatar for smallville
0
317
Member Avatar for btech

how do you want the time zone to be determined? just have the function bring in an int and set it to timezone... that is unless the time zone is dependant upon something in clocktype not sure what you are going after

Member Avatar for Dave Sinkula
0
788
Member Avatar for ankitrastogi82

[QUOTE=sunnypalsingh]Neither in your program nor the example which i gave you derefrenced null pointer. [/QUOTE] actually you do dereference the null pointer... PT* ptr = 0; ptr->whatever(); is the same as PT* ptr = 0; (*ptr).whatever();

Member Avatar for SpS
0
186
Member Avatar for Niklas
Member Avatar for mina1984

#include <iostream> using namespace std; int main() { int first; int last; int num1; int num2; int num3; cout<<" Enter your last name :"; cin>> last; cout<<" Enter your last name :"<<endl; cin>>first; cout<<endl; cout<< "enter three test scores :"<<endl; cin>> num1, num2, num3; cout<<endll; cout<< average of test scores …

Member Avatar for mina1984
0
132
Member Avatar for MillStrike

[QUOTE=MillStrike]Just one more small thing, how do I get the user to enter a line instead of declearing one in the code? Tried many things, but since i can't use "cin >> *str" I don't know what to do. I appriciate any help.[/QUOTE] you need to either declare a fixed …

Member Avatar for Drowzee
0
177
Member Avatar for drock9975

I'm new to the forum as I've been surfing around for some previously posted help, but I just can't find it. So if anyone can help it would be greatly appreciated. I'm new to C++ and programming in general and I'm compiling on Microsoft Visual Studio .Net 2003. For a …

Member Avatar for drock9975
0
126

The End.