Beginners - July 2009 (Page 6)

by Bv202
File i/o (binary) confusion
 
Hey, I'm now learning file i/o and I'm very confused about one part of it. When it comes to binary, you should use 2 parameters in the read/write method: ...
[6 replies] Last: Ok, I got it. Thank you very much =) (by Bv202)
GUI in C++
 
Hi, I am new to this forum and to c++, so I hope I am posting this in the right place. I want to learn how to make GUI with C++ and I want the GUI to be cross-p...
[3 replies] Last: You can try Qt, it comes with a graphical designer so it is easier for... (by Bazzy)
by Darinm
error in "The C++ programming language"?
 
chapter 11.12, a string class class String { struct Srep; Srep* rep; public: class Range { }; //... void check(int i) const { if...
[3 replies] Last: Of course. I commented that line. I guess I should have left it the wa... (by helios)
dllss....what are they used for ?
 
What are dll used for.....
[2 replies] Last: It also allows you to load different versions of code at run-time, lik... (by kbw)
Ascci program...
 
do { c = getch(); cout << c << endl; } while (c != 27); When I input an arrow key two ascci codes are displayed... namely 224 and a...
[6 replies] Last: thanks... (by Harlequin)
Key Combinations....shft + a.....
 
How to accept Key combinations......like ctrl+a....shft +t.....etc.....
[1 reply] : Look up on the 'net the scan codes for the various special keys like C... (by jsmith)
Charactor saving and deleting
 
Hello, I'm in a bind right now. My problem is, is that I'm trying to develop a program that will scan some random generated text and delete everything but th...
[1 reply] : I suppose that ' random ' is a character array and not a single charac... (by Bazzy)
by Lucien
How to go on?
 
I've just finished the book Software Engineering in C, so I know principles as pointers, pointers to functions, variables, files, arrays, strings, functions, et...
[1 reply] : Here are listed some C++ books: http://www.cplusplus.com/forum/general... (by Bazzy)
problem in acessing function
 
Hello again.i have some code to create a "#"&"." maze like ##...### #.###... .#####.. ###..### but my code only create ##### ##### ##### or ...
[1 reply] : The random generator is seeded in every iteration of the inner loop, b... (by wmheric)
by arash
which compiler works with Kernighan,Ritchie Book ?
 
Hi everybody , I am using Kernighan , Ritchie C programming language book and I wonder if anyone can suggest which compiler to use with the book.I have MS VS20...
[2 replies] Last: try gcc/mingw with cygwin. Also can you post an example of the code t... (by smilodon)
by Shane
I'm new with c++ and want to know what types of programs it can make!:D
 
Hey everybody! So i just got the book "C++ for Dummies" and it is SOOOO informative and surprisingly, it's in english! Not computer programming language (or wha...
[7 replies] Last: Thanks for all of the information people :D I really appreciate it! ... (by Shane)
Outputting a slash without becoming an escape character...
 
Any idea how to output a forward slash (\) in c++ without it becoming a warning/error?
[2 replies] Last: Thanks buddy. (by brunoxi)
invalid conversion from 'int' to main()::letterType'?
 
I am getting this error when compiling my program. I dont even know if it will work. But i just want it to compile to see what happens. Can someone tell me w...
[7 replies] Last: On line 20, before casting to the enum, subtract 'A' from the result o... (by helios)
Pressing buttons to continue
 
Hello, i've been curious to know... i've seen programs where it says: Please press shift to continue or: Do your wish to continue? (press y/n) Basic...
[9 replies] Last: Well, how convenient that the very first example I gave in the link is... (by Duthomhas)
Using String Variable to Create Class Instances
 
I am trying to feed a string variable into the Class Constructor the data will be coming from cin. How might I do this. This is the function I am trying to us i...
[8 replies] Last: I find no reason to name things differently, except as a hint to mysel... (by Duthomhas)
Almost Done, but where am i going wrong...
 
Ive written a blackjack program for a term final. its about 200 lines and im all but done. im having 1 issue though and thats that i cant get my switch in my ...
[4 replies] Last: Whoa, I just realized... the brace on line 152... I believe you wan... (by jsmith)
char returning
 
i am writing a basic slot machine program and i am stuck on asking the user if they want to play the game. if the user enters N or n, the game is supposed to t...
[1 reply] : Your main game loop should probably be in main. After you have execut... (by Return 0)
Having a problem reading a .txt file
 
Hello again, I'm having a problem with my program. It's supposed to read from a file the lengths of a triangles sides and output what kind of triangle it is. ...
[4 replies] Last: When reading from a file (or other streams) is often useful breaking a... (by Bazzy)
Text repeat on same line...
 
Quick question. And I'll need the old DOS'ies out there probably to help remember what I'm talking about. Let's say I'm 'cout'ing something (perhaps a per...
[7 replies] Last: String constructors can be used with the same ease. See line 12. #... (by Duthomhas)
by boon
Pointers with Memory Allocation
 
I have been struggling with this assignment for a while now, with no success to speak of. I don't have my code right now (I will post it when I get home), bu...
[7 replies] Last: Is buffer a single char or an array? (by jpeg)
July 2009 Pages: 1... 45678... 20
  Archived months: [jun2009] [aug2009]

This is an archived page. To post a new message, go to the current page.