Beginners (Page 6)

how to use "friend"
 
Hello, I am having an issue with my program, but I don't know what I am doing wrong. #include ...
[1 reply] : When read from top to bottom, the compiler first comes across a identi... (by Ganado)
by plp384
Used setw(1) on the input of a declared string
 
A program I wrote calls for the input of a single alphabet letter and a single number. A problem I r...
[2 replies] Last: Okay. Thank You for the response. (by plp384)
by moufou
just wondering if my program is optimized
 
Hi i'm currently doing a homework(I know that you will not give me the answer nor do i want it and i...
[6 replies] Last: thanks for the comments (by moufou)
by gnerpo
store string pointers in map
 
Hi people, here is the code i compile under windows with code blocks and mingw gcc: #include ...
[3 replies] Last: Thank you very much! (by gnerpo)
program not breaking when it should
 
I'm creating a game of battleship, and I'm having a problem with my program where it is not breakin...
[no replies]
fnction pass
 
is it possible to pass the function into another function and that another function will pass into a...
[2 replies] Last: Function pointers will keep it's integrity no matter how many times it... (by Krisando)
How to Print Hollow shapes
 
As the title says, what is the concept of printing out hollow shapes?
[10 replies] Last: ok thanks everyone , i ended up finishing it (by LATCH100)
by leoo
Remove the file after starting it
 
Hey, I'm looking for a way to remove the file after you've started it, I've tried via TerminateProce...
[4 replies] Last: novellof: Simply: start .exe and then remove .exe. Thanks all! Especia... (by leoo)
problem with dice rolling program
 
ok so i got this program where i need to roll n number of dice i got this idea about it but the thi...
[14 replies] Last: Glad you finally understand all this f**ken probability. (by shadowCODE)
Paper, rock, scissor game
 
I just wrote a program for Paper, rock, scissor game. Is this correct? #include <iostream> us...
[15 replies] Last: Technically speaking logic error shouldn't be within the game conditio... (by giblit)
Whats the use of while-loop
 
In what kind of problem can I use while-loop?
[6 replies] Last: http://www.cplusplus.com/doc/tutorial/control/ Aceix. (by Aceix)
by cvdt
incomplete buffer read
 
I want to fill a buffer by reading data from a file. However the buffer gets incompletely filled. ...
[4 replies] Last: As a default, files are opened in text mode. Certain characters, parti... (by Chervil)
Find the error..
 
The definition of the class AA got some error. Can anyone let me know whats the error in Class AA? T...
[2 replies] Last: Error 1: To call function as AA::getX() , it should be static . Err... (by MiiNiPaa)
Sum of mathematical series with Mod 10^9+7
 
Problem link: http://www.lightoj.com/practice_contest_showproblem.php?contest_id=552&problem=E Yo...
[2 replies] Last: There are two things you have to deal with here: the overflow and the ... (by dhayden)
Runtime of an process?
 
I an trying to determine the runtime of an task. The taks/function is recursive, and having a hard...
[3 replies] Last: i don't want want to include the the time it take to cout the return... (by MiiNiPaa)
by Blank
Code is not working
 
When i run my code an error pops up and its say something about the declaration of my variable "SIZE...
[1 reply] : Windows (in windef.h included in windows.h) declares type called SIZE.... (by MiiNiPaa)
using multiple files
 
i've been coding for a couple of years now. i mostly write projects for embedded microchip pic proce...
[7 replies] Last: struct my_struct things_to_store; defining a variable extern struc... (by ne555)
Concatenating Bytes?
 
I have two integers below and their binary string equivalent. The 2 is the comes first. These two ...
[4 replies] Last: I think I've figured it out.. With your help of course 0010 1001 111... (by dominover)
by plp384
Using else if multiple times
 
I had a programming exercise to do that seemed easy at the surface but hard to write. Is it normal ...
[4 replies] Last: it is possible to write else if 13 times, but in that situation you sh... (by Lorence30)
How to use Node as a return type in a class?
 
Hello, I am new to C++ and I am confused as to why I cannot utilize Node* as a return type for func...
[1 reply] : Class Node is a) Inner class so it can only be accessed from outsid... (by MiiNiPaa)
Pages: 1... 45678... 64
  Archived months: [jul2014]

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