Beginners (Page 80)

Very simple question
 
I try to access a char array in a structure through a pointer-to-structure. But it comes with this e...
[3 replies] Last: You may want to look into std::string , Minimacfox. Then you could do... (by Catfish3)
by lmsmi1
Running File Associated with Executable
 
How exactly would I go about running a file via double-clicking it, then having my console executabl...
[3 replies] Last: Exetuable name is the first argument or argument 0. Array indexes star... (by MiiNiPaa)
Quick For loop question
 
Hi, this will just be a few seconds. What do I put in the parameter of the for loop? Specifically...
[3 replies] Last: - You have to increment the counter in for loops. - Add the for loop e... (by writetonsharma)
logic error?
 
so i wrote this whole program it compiles and runs on my system but was told it has a logic error ca...
[1 reply] : add cEntry->next = NULL; after line 80. do the same at other instanc... (by writetonsharma)
by Nebur
Unexpected error in a very simple program
 
Hi everybody, I 'm new in C++ programming and when I was doing a program to extract the integer part...
[2 replies] Last: Take a look at floor, ceil and modf. http://www.cplusplus.com/referenc... (by Chervil)
degree symbol
 
I get the error "truncation of constant value" for the line below. How can I correct this? I want to...
[2 replies] Last: I don't get any error on that line. If the compiler is definitely indi... (by Chervil)
Having trouble moving my square.
 
Having trouble getting my square to move to the left my code and instructions of what i am suppose t...
[no replies]
by cpcp
Dynamic array at C++
 
If I have something like: int **arr=new int * ; arr =new int ; arr =new int ; ...
[7 replies] Last: Also in your code if you do m = 5; t = 3; std::cout << m ; it w... (by MiiNiPaa)
by Warsog
Streaming and storing data structure from file
 
Hi there! I would like to stream datas from file and store it into structures to work with it later...
[no replies]
by suraya
writing over memory after end of heap
 
hey guys, i wrote ths program. it is compiling and working but after it gives me the results i want ...
[2 replies] Last: thank you :D (by suraya)
HELP ME FIX THIS CODE
 
I need help with # 4 We need a point of sale system for the new grocery store I am planning t...
[6 replies] Last: See std::accumulate (by keskiverto)
by zmlink
calculations cmath needed inclusion?
 
int ones, fives, tens, twenties, temp,; twenties = (dollars/20); temp = (dollars%20); tens = (temp/...
[7 replies] Last: i see this helps alot to review here thanks a ton ispil i will dive i... (by zmlink)
using cstrings to evaluate a paragraph
 
I am trying to write code for a program that gets a paragraph from a input file then uses cstrings t...
[no replies]
In need of so much help
 
I'm trying to write this paper rock scissors game for class using functions. I am just frustrated be...
[8 replies] Last: And don't use goto's, and especially not with a label called main: !!... (by TheIdeasMan)
switch statements
 
switch (ch) { case 'a': cout << ch; case 'b': cout << ch; case 'c': cout << ch; } ...
[1 reply] : [quote=Banshee1]From my understanding since case a is true it would ou... (by Yanson)
by zmlink
help what am i doing wrong here ;/
 
int dollars; cout << "Please enter the whole dollar amount (no cents!)." cin>>; } ...
[13 replies] Last: Oh right // displayBills(dollars) i supposed just print 'display' the ... (by eyenrique)
Weird Linker error during compilation; undefined references.
 
Hi, LeafyCircuits here. Comp Specs: OS: Windows 7 Home Premium 64-bit Compiler: GNU gcc compile...
[7 replies] Last: Thanks for the design pattern Zaita :) I'll mark this post as solved ... (by LeafyCircuits)
Need good Allegro 5 help (Please open)
 
Hello, I wold like to know what books, or video tutorials I can take for coding a C++ game I wish...
[no replies]
Tic Tac Toe help
 
I have to write a program for a tic tac toe game. I have the game part done, but I also have to have...
[5 replies] Last: When asking for input, check whether that spot currently contins '*'. ... (by Ispil)
by Trowen
Parameters and Arguments
 
Okay, I've been reading the C++Tutorial on this website and I'm on "Functions(I)" and I'm not sure w...
[1 reply] : Well, when you have a function, say, function add that takes two value... (by Ispil)
Pages: 1... 7879808182... 133
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.