Beginners (Page 5)

by vxk
std::cout
 
Can somebody explain what is happening in the cout stamenent in the following piece of code ? how ...
[2 replies] Last: It uses comma operator. Which works like "Execute left side argument, ... (by MiiNiPaa)
Help with std::map
 
Hi, everyone. I need your help... I wanted to fill an std::map with some value_type arguments. When ...
[6 replies] Last: Maybe there is some confusion here: [quote=Xuan Liu]The type definitio... (by Peter87)
Cannot creating new double*
 
Hi, This code while creating 'u' have an error. Please Help me. #include <math.h> #includ...
[1 reply] : What is the error? (by Peter87)
Tictactoe
 
Hello, I really haven`t programmed much lately because just finishing my college, anyway here was...
[6 replies] Last: Nice, I think I have another idea how wins could be checked. Now, howe... (by pacman169)
by oseri
Function arguments - array of pointers or pointer to array ?
 
Hi, Let's say we have following function declaration : void print(int *kau ) How do I tel...
[3 replies] Last: int *kau /// here kau //will store datatype of the ty... (by andy1992)
Trying to print array in reverse
 
Hi, As part of a program I'm doing I'm trying to print an array in reverse. I thought I had figured...
[3 replies] Last: Thanks very much. works great. I just moved the cout to the second for... (by steve3194)
Question about for loop.
 
Ok so my class is being taught experimentally where my class is group work, and the other class regu...
[3 replies] Last: is i just a loop counter? Yes. Does that variable need to be r... (by AbstractionAnon)
Help with a nested loop program
 
Can you guys help me do this program i need to make a tree out of a stars with a nested loop, i sur...
[2 replies] Last: * ** **** ****** ** ** ** edit= idk... (by programiNOOB)
having problems in installing SDL 2 (1,2)
 
i download SDL 2 and tried to install it by watching setup tutorials i done everything as they sai...
[25 replies] Last: THAT WORKED!!!!!! :D thank you very much man you really help me :) (by amielsd123)
Need HELP
 
I have to format my program in a certain structure. The structure is //Program Header int main() //...
[6 replies] Last: One option if you want to keep the switch statement is to divide avg b... (by AbstractionAnon)
weird problem in while loop
 
when ever i run the program its send me to a infinit loop where its suppose to stop after 200 loops...
[5 replies] Last: Change while ( A != B ) to something like const double d = .000... (by PCrumley48)
Can't Use My Classes
 
This program is working fine as a procedural program, but I cannot get it to run as a classes/objec...
[1 reply] : you cannot enter directly to a private variable. you need accessors. ... (by rafae11)
by Lucy2
Need in a loop
 
I have the code to ask a user to enter 3 numbers then they win or lose. How do I add the code to ask...
[6 replies] Last: // ConsoleApplication5.cpp : Defines the entry point for the console ... (by rafae11)
by Juicej
Can't Get My Bullets to move
 
the bullet sprite only remain in the area i set it when i run my program... i've tried a few differe...
[12 replies] Last: thanks much.. really appreciated (by Juicej)
by k99
Logic for Array method
 
Hi All, Is it really possible to create the array methods like searchseq, sum, sort with logic or...
[no replies]
Dynamic 2D array allocation help
 
Hello cpp! I have a problem, I get undesired output. My program simply ask the user for the 2D arr...
[10 replies] Last: is it perfect now? your delete process is still wrong. you need for... (by anup30)
by Tgrede
Long int and int have the same max value?
 
So I recently started programming and in the lesson i'm on it is teaching about integer types. I fou...
[3 replies] Last: No. If you really need more than 32 bit, use long long type. (by MiiNiPaa)
coords and gotoxy ()
 
I am looking for coords and gotoxy () tutorials. And it could be better if you explain me
[no replies]
by TRun
Entering multiple values at once with option to type -1 to quit
 
Hi. I am new to the forum and not quite sure how this works. In my program, I am asking the user t...
[8 replies] Last: #include <iostream> #include <iomanip> #include <algorithm> // funct... (by JLBorges)
by RotciV
How to transfer value of int to another function
 
Lets say I have two functions, for example I'm trying to create a fixed size array. int Recursio...
[5 replies] Last: That^ would return an error because its out of bounds(size=arraySize-1... (by rjvc)
Pages: 1... 34567... 124
  Archived months: [sep2014]

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