General C++ Programming - February 2014 (Page 12)

by EdFab
Question about setting size of a C style string
 
In order to make this program work, I had to use a magic number to set the size of a character array...
[1 reply] : I found a solution to avoiding magic numbers when declaring a characte... (by EdFab)
create file with fstream
 
For some unknown reason when i try the following code it doesn't create a file. (the program will si...
[3 replies] Last: it worked by the way (by Cronnoc)
Reading from data file
 
i cant get my program to read the rest of my variables from my data file it will only read the first...
[5 replies] Last: this is what im outputting: Your beginning balance is $879.46 You ha... (by makaveli23)
by TX9200
Virtual keyword in inheritance
 
I wonder what really happen if you forget to put virtual keyword in the function of the base class. ...
[1 reply] : Have you tried coding up an example of this in code yourself? If you ... (by Zhuge)
Merge and sort list of strings
 
I am looking for a function or algorithm to best merge and sort similar content between two lists of...
[6 replies] Last: > of your talent! There is really no talent involved. Just familiarit... (by JLBorges)
array in c++
 
Save these integers (5, -2, -31, 8, 0, 23, -7, 11, 10 and -5) to an array called number_array . ...
[2 replies] Last: What is your code so far? (by thiskid)
number to word code help-not for beginner apparently
 
I wasn't sure if this was best suited for general or for beginner. Hello, the purpose of this pro...
[1 reply] : Please use codetags: http://www.cplusplus.com/articles/jEywvCM9/ One ... (by cire)
by stanz
please help me.with my assignment
 
How to construct this for C++? Please help me.
[no replies]
Could I get some help with this?
 
Apparently this doesn't go in the Beginners forum, which is weird, because I've only been doing this...
[1 reply] : I just replied to your other thread. (For the record, I think it's pos... (by long double main)
C++, MIPS assembly
 
Hey guys, I was just wondering, If you use c++ in visual studio and disassemble the code to m...
[no replies]
by stdeez
BinarySearchTree need help please.
 
Hi, I just need some direction, im going to upload my assignment specifications (its short) and ask ...
[1 reply] : I have no idea how to keep up with the tree given this condition. I c... (by stdeez)
trying to write a calculator
 
I'm trying to write a calculator program that places int in one stack and char in another, checks th...
[no replies]
std::mutex problems
 
I might be making a really simple mistake, but I have been searching around and not finding any answ...
[no replies]
Arrays and Enumerated Data Types
 
I am doing a programming assignment. This program asks you to collect statistics on precipitation an...
[no replies]
by heepoo
reference to 'Column is ambiguous
 
hi all, I'm using GCC 4.8.1 and I want to implement a XML parser using TinyXML and port it to AngelS...
[16 replies] Last: > what is your idea about expat? Expat is a stream-oriented XML parse... (by JLBorges)
Next step for basic game or simulation engine.
 
Hello, I created a basic object class with some main code. The class allows me to add a object, del...
[no replies]
modifying several variables via a header file
 
Hi, I'm trying to split up my game (about 1300 lines) into header files, but I'm coming up with a pr...
[4 replies] Last: I did buy a book (You Can Do It! by Francis Glassborow), and I read an... (by shadowmouse)
How many countries area and populations will i need? ...and what type of loop can i use?
 
Write a program that repeatedly asks the user to enter the name, area, and population of various c...
[3 replies] Last: > How many countries,ares and populations will i need in this program.... (by JLBorges)
Dont know how to make this loop work
 
hey all, so im really confused as to how to solve a loop like this nor as to how it would look. Can ...
[2 replies] Last: Okay, I am going to assume that the grid actually looks like this: ... (by long double main)
by MST
Matrix with unknown dimension
 
Hi I try to write code for one problem which is worked with the matrix.I have written in specifi...
[2 replies] Last: std::vector<> http://www.mochima.com/tutorials/vectors.html #inclu... (by JLBorges)
February 2014 Pages: 1... 1011121314... 33
  Archived months: [jan2014] [mar2014]

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