Beginners - April 2013 (Page 53)

Pointers don't use memory?
 
I am just learning pointers in class and the book really does a poor job of explaining them. It basi...
[10 replies] Last: Great explanation vlad. So really all we are doing is just initializin... (by IdivideBy0)
by lok05
##string sorting problem##I spent more than 7hour
 
i am a beginner. My assignment is due tonight:( please help me w/ this: read the input file(inp...
[17 replies] Last: mergehelper() is the main sort function. It requires a working array (... (by tntxtnt)
by Larry2
Splitting templates
 
Hi, I read that splitting templates into .h / . cpp wasn't a good idea. Is the only way to kee...
[4 replies] Last: Many Thanks JL, Now I got it. To answer this, I will split my code in... (by Larry2)
Problems with cout dissapearing instantly
 
When I run a program with this code: #include <iostream> using namespace std; int main(){ ...
[17 replies] Last: Or you can just read the sticky topic at the top of this forum which e... (by LB)
problem with RPC code
 
i got the source code from this website: http://www.aspfree.com/c/a/net/introduction-to-rpc-on-windo...
[6 replies] Last: @coder777 i don't know to make my own RPC program so that's why i trie... (by beginner123)
calling methods and constructor class
 
I didn't understand how this code works. #include <iostream> using namespace std; class abcd...
[2 replies] Last: Thanks maeriden. Also can you please explain me how b1.a and b1.b wor... (by Eliza0210)
by dipa57
division error
 
Hi, I am new in C++ Why the output = 6 and not 6.5? What I do wrong? Thank you for your answer ...
[4 replies] Last: You can obtain floating-point by float/int not int/int you have to cha... (by eyenrique)
by Larry2
Class template + function call = error
 
Hi, I am trying to become familiar with templates. My goal : cout char if the object is initialize...
[5 replies] Last: Exact ! My code above was intended to be a starting point for differe... (by Larry2)
Trouble understanding exercise.
 
"Write a function that takes and returns an istream&. The function should read the stream until it h...
[5 replies] Last: Thanks JLBorges for the explanation and links. I'll take this time to ... (by Olysold)
by SmOgER
Ignoring particular arrays in loop after conditions are met once / sorting arrays
 
Hi, I can't really find a tutorial which would give this info. I have a text file: 14 4 1 25 ...
[6 replies] Last: I'am surprised no one came up with an answer, as all I had to do is wr... (by SmOgER)
by Ch1156
Made a timer but need tons of them
 
Ok so im makeing a time management game and you buy trucks and planes and send them off to different...
[15 replies] Last: errors C:\Users\Chay\Desktop\Shipping Manager\main.cpp|27|error: prot... (by Ch1156)
by Fyah
need help with my code please
 
i have to create a program where you enter a number and the programs adds up to that number for exam...
[18 replies] Last: I think this is a simple way #include <iostream> using std::cout... (by eyenrique)
square root
 
how do I do square root in C++?
[7 replies] Last: You can use the C++ Standard Library <cmath> and the function sqrt ... (by eyenrique)
TDD framework for Microsoft Visual C++ 2005 Proffe
 
Hi I want to begin development in Microsoft Visual C++ 2005 with TDD (Test Driven Development) Fr...
[1 reply] : How to use this: http://msdn.microsoft.com/en-us/library/microsoft.vis... (by Observer)
Returning char array from function
 
I made a program to build a game board of a set size, but now I want to add asking the player how la...
[3 replies] Last: I would use a two-dimensional array because you deal with height and w... (by vlad from moscow)
enum structure
 
#include <iostream> #include <time.h> using namespace std; enum calendar{ jan = 1 , feb , ma...
[5 replies] Last: char date ; //get date char m = {date , date , '\0'}; ... (by MiiNiPaa)
For loop ending with semi colon
 
This following loop is correct: for (; ;); I thought the rule was that you can't put a semi colo...
[3 replies] Last: Using the g++ compiler with a for loop like what is shown above produc... (by TheIdeasMan)
by clarkd
Please Help with Sorting!!!!!!!!!!!
 
The Program runs fine with just minor problem. I have written the program but it doesn't seem to sor...
[5 replies] Last: I just noticed that Total_Names[i + 1] is also outside the bounds of... (by fg109)
Array question
 
If I have a program of Battleship and there are 2 ships but each ship has two locations in the board...
[4 replies] Last: @GaCokoya yes I do would you like me to post it ? (by closed account LN3RX9L8)
Reading a text file that contains words and numbers
 
I have a xlsx file that I saved in tab delimited format. The first 9 lines looks like this. Line ...
[8 replies] Last: Thanks for the help buddies!! :)))))))) (by Philip Legaspi)
April 2013 Pages: 1... 5152535455... 83
  Archived months: [mar2013] [may2013]

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