Beginners - May 2012 (Page 11)

Wo Wants to be a millionaire game
 
does anyone have a program like this thats based off this game if so can you share the whole program...
[3 replies] Last: #include <iostream> using std::cout; using std::cin; using std::endl;... (by Stewbond)
Read file of char and int into an array
 
Hi guys, I have a .txt file which contains 3 columns of data. Each column represents a integer t...
[1 reply] : Hi there, I think you may want to give sscanf() a try for this. Have... (by closed account o3hC5Di1)
Convert to/use hexadecimal numbers
 
Is there a way to pass a hex value to an array element? I've been unable to find anything other than...
[7 replies] Last: No problem NwN I will do so as soon as I have the whole program put to... (by solo2wolf)
Dynamic memory
 
I need to build a two dimensional array with three columns and a variable number of rows. The number...
[4 replies] Last: Thanks very much guys hugely helpful :). (by solo2wolf)
Saved projects do not show up in the workspace in CodeBlocks
 
When I open a project that I have previously saved, I am unable to build or run it. However, when I...
[no replies]
Unknown trouble with short code for Project Euler Problem 3.
 
I am a new c++ programmer currently working through project Euler, and I've gotten myself stuck on p...
[6 replies] Last: there we go! using <= n solved it. ...Is that because when the program... (by suitsexual)
Basic function to macro
 
I want to turn this simple function into a macro. Can anyone help me out? unsigned int Len(cons...
[2 replies] Last: Forced inlining in C. Even then, you are wasting your time. Just use ... (by Duthomhas)
by ortymd
program crashes in the end
 
Hi everyone. Program seems to work fine, but crashes in the end, after the destructors are called. ...
[5 replies] Last: I should delete it ? No, you should delete anything that you create... (by Moschops)
chosing which variable to use in writing programs
 
I'm supposed to write a program that performs division of two numbers read from the user & prints ou...
[8 replies] Last: I know we shouldn't just , but this is painful :p Megz, the things y... (by Moschops)
delay() issue
 
Hi, im trying to write a program in C not c++ to print an array of chars one at a time with a one s...
[2 replies] Last: You have to flush the stream. Call fflush(stdout); to make sure that... (by Peter87)
by pule85
vector of vectors into a struct
 
Hello everybody. I'm running a bit short of ideas and an help would be really appreciated. I have l...
[8 replies] Last: @framework:absolutely, the way people keep pointing it out, its not wr... (by SirSmilesaLot)
by Nacao
Basic read and write with files
 
This code I have made, is supposed to open a file (source) and copy its text to another one (copy). ...
[3 replies] Last: You're missing the 's' off the second scanf(). You should read this. ... (by kbw)
by craigw
Storing colour codes in enum/string ??
 
Hey all, I want to change the colour of text outputting to the screen, but dont want to constantl...
[1 reply] : I'm guessing by the colour code that this is *nix and not Windows, cor... (by MrHutch)
Inheritance and getting started
 
I was given an assignment and am very confused not only on exactly is being asked, but how to get st...
[1 reply] : Please use code tag from right hand side format, before posting code. ... (by SirSmilesaLot)
Pythagorean Theorem Program Help?
 
Hi guys, before I post the code, I want to give you some background. I'm a programmer/ gamer guy and...
[1 reply] : I think you are confusing terms. A "bug" is something different from ... (by Disch)
Generic Template Classes to implement a Doubly Linked List
 
For most of my programming career, I have been using Java and Objective-c. The more I learned the mo...
[12 replies] Last: Thanks a lot. The comments are really helpful and I understand why pre... (by haglerchristopher)
HashTable error: multiple definition of 'HashTableSavitch::HashTable::HashTable()'
 
Hi cplusplus.com forum people, I've typed up this code direct from the...
[2 replies] Last: Sorry, only my 2nd post. Here 'tis. I bolded Line 12 where the error o... (by eiger3970)
writing program to set a desktop background at startup
 
Hi, I am having problems with my 32 bit windows 7, it says my factory installed os is not genuine, a...
[1 reply] : This forum isn't really about writing people's code for them. It's mor... (by ResidentBiscuit)
Some clarification needed...
 
I'm learning c++ to become a games programmer but I don't understand how Compilers or IDE's work. Wh...
[9 replies] Last: Yes, you can code in Notepad and then use a compiler to compile. But ... (by codeFoil)
Can NOT get this array of pointers to an array of class objects to sort properly
 
Okay, I've tried this a few different ways now with varying results. What I'm trying to do is sort a...
[1 reply] : Simple mistake. Read this a little more carefully. do { ... (by codeFoil)
May 2012 Pages: 1... 910111213... 59
  Archived months: [apr2012] [jun2012]

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