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
~392 People Reached
Favorite Forums
Favorite Tags
c++ x 19
Member Avatar for imput1234

Hey, I'm trying to only read the int's and the symbol - (negative) from the file. right now my code is where m,d, and y are dates. Everything works fine. Except I do not read the - symbol. Any one know how to solve this? [ICODE] fin.open(ifile.c_str()); fin >> m1 …

Member Avatar for imput1234
0
159
Member Avatar for imput1234

How do I set a fixed number of places. for example I want 1 to be 01. this is what I've been trying, but never works for some reason. Does anyone know how to do this. Thanks. int i = 1; cout << setprecision(2) << 1 ;

Member Avatar for imput1234
0
62
Member Avatar for imput1234

Hey guys, I've got a beginner question about this for some reason the getline function will not work, does anyone know why? I can't seem to figure it out [code]int main () { string studentname; int test1, test2; cout << "Enter first test score"; cin >> test1; cout << "Enter …

Member Avatar for imput1234
0
93
Member Avatar for imput1234

Hey, I'm new and am using Visual C++ 2005 Express Edition. How do I increase the size of the console screen, I just need to make it wider for my program. Yes, I have searched, but all the methods I have found require to me use #include <windows.h> I get …

Member Avatar for Ancient Dragon
0
78