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
~2K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

12 Posted Topics

Member Avatar for SquirrelProdigy

I would like to know how to do this. Are there any functions specifically for it? Or do you have to do it manually?

Member Avatar for yangacer
0
173
Member Avatar for SquirrelProdigy

When attempting to connect to my sql server through Vale Software's MSDE Manager, I get the error [SQL-DMO]Service Control Error: The RPC server is not available. I made sure all processes involving RPC were turned on, and I also turned on the DCom service process launcher as I read to …

Member Avatar for jwshepherd
0
109
Member Avatar for SquirrelProdigy

Why is it that a major class should be defined in a header file, then given a source file to define it's functions?

Member Avatar for Dogtree
0
170
Member Avatar for SquirrelProdigy

Hi, I'm attempting to set up dotnetnuke with Microsoft's SQL MSDE as my database. After getting SQL up and running, I created a database aptly named dotnetnuke, and a login called dnnuser. I set dnnuser's role on dotnetnuke to system administrator and it's role membership to db_owner. After altering the …

0
105
Member Avatar for SquirrelProdigy

Here soon, I was hoping to buy an IDE for C++. However, I'm not sure which is the best to buy. I only know of Borland and Microsoft's as popular IDEs. Are there any other popular IDE's that are worth purchasing. I'll be heading off to college here soon, and …

Member Avatar for Narue
0
183
Member Avatar for SquirrelProdigy

[CODE]if(cmd=="new"){ string name,desc; cout<<"Name? "; cin>>name; Setcursor(Conloc); cout<<"Desc? "; cin>>desc; Setcursor(Bodyloc); Invitem Item(name,desc);[/CODE] When the values of the string desc is set through cin, if a space is used, all text after that space isn't used. Also, If two words are used when setting name, it will give the second …

Member Avatar for subtronic
0
282
Member Avatar for SquirrelProdigy

Is it neccesary to ever define more than one output or input handle in a Win32 Console program?

Member Avatar for Narue
0
272
Member Avatar for SquirrelProdigy

What I'm looking for is where to look for how to set the size of the console window automatically, as opposed to the default. I've searched through the MSDN library's Console reference for any function that would set it, but nothing seemed relevant to me, granted I'm not very proficient …

Member Avatar for prog-bman
0
119
Member Avatar for SquirrelProdigy

[CODE]SetConsoleMode(InputH,ENABLE_PROCESSED_INPUT|ENABLE_MOUSE_INPUT); while(1) { ReadConsoleInput(InputH,&InputRecord,1,&InputEvents); if(InputRecord.Key_Event) { if(InputRecord.Key_Code == VK_RIGHT) cout<<"You pressed right. Yay!"<<endl; } FlushConsoleInputBuffer(InputH); }[/CODE] [FONT=Book Antiqua] [SIZE=4][COLOR=DarkSlateGray]FlushConsoleInputBuffer() is used to prevent input from echoing, correct? If so, that command isn't doing it's job, I still get echo, and I can't figure out why. Any suggestions? I reposted this …

Member Avatar for SquirrelProdigy
0
372
Member Avatar for SquirrelProdigy

[SIZE=2][COLOR=SlateGray][FONT=Palatino Linotype][code] SetConsoleMode(InputH,ENABLE_PROCESSED_INPUT|ENABLE_MOUSE_INPUT); while(1) { ReadConsoleInput(InputH,&InputRecord,1,&InputEvents); if(InputRecord.Key_Event) { if(InputRecord.Key_Code == VK_RIGHT) cout<<"You pressed right. Yay!"<<endl; } FlushConsoleInputBuffer(InputH); }[/code] There's the snippet. It takes in input correctly, but despite the FlushConsoleInputBuffer() line, it still echo's. What am I missing here?[/FONT][/COLOR][/SIZE]

0
69
Member Avatar for SquirrelProdigy

Is reading and writing strings inside of structures possible, or must you use character arrays? Here's what I've tried; no compiler errors, but it doesn't display the text: [CODE]struct Account{ float balance; string Owner; }; int main(int argc, char *argv[]) { fstream File; Account Acc; int row; cout<<"Open or New? …

Member Avatar for SquirrelProdigy
0
149
Member Avatar for SquirrelProdigy

I just can't figure out why this program isn't reading in the entire file. It will only read in the second line, nothing else. Here are my read and write functions: bool Write(string Text,string FileName){ fstream Write; Write.open(FileName.c_str(),ios::out|ios::app); if(!Write){ cout<<"Error in opening file"; return 0; } Write<<Text; Write.close(); return 1; …

Member Avatar for SquirrelProdigy
0
164

The End.