Beginners (Page 56)

Pointer to a 2D array; to put "x"
How could I put a random x, inside the 2d array? thanks! #include <iostream> using nam...
[6 replies] Last: lol, I didn't even see Little Bobby Tables post, it's so small. not th... (by youare29)
by mehak
sequential search(Search and Insertion)
sequential search(search and insertion) #include <iostream> using namespace std; struct node ...
[12 replies] Last: thnx alot :) (by mehak)
how to make my program to store each SSN
hello everybody, this is my first post on here and I need some help with my program. I know it is la...
[4 replies] Last: ok I did everything that you did. I even changed the arguments for the... (by coolman22)
by sime
Functions and Factorials why to type return?
If I type return faktorijel(rezultat,broj-1); for 5 result is just 120 and if I type: faktorijel...
[6 replies] Last: RECURSION, GENIUS! (by iQChange)
Open files in a "sorted" order to work on them
Hello, My problem is, I have data files named data001 -> data999, I need to somehow input a number ...
[2 replies] Last: Thank you very much! That works wonderfully, I haven't used stringstre... (by Bubiche)
I can't run any projects in visual c++ 2010
Hello everyone, I am trying to compile and run projects in visual c++ 2010, but when I run a progra...
[2 replies] Last: Still does not work, Now I am getting the error: about() has been cal... (by Gkneeus)
by Nezar
DUMB question
Hi, I need to declare a variable at one point and cin a plaintext like "hello world" to it in anoth...
[2 replies] Last: Oh, thank God, it worked !! thanks a lot, you saved me :) (by Nezar)
fatal error LNK1215
Hello, Im making a little game just to practise my skills. Today I was playing around with little ch...
[no replies]
Program That Counts Number of Words
Write your question here. Hello everyone I have another program to do that counts the number of wor...
[3 replies] Last: Why not just iterate through the sentence characters, count the space... (by MiiNiPaa)
by Rapte
Automatic open
Hello, I would like to create a program that would automatically open a file in .bat Explain: ...
[1 reply] : You could have a system() call inside the code for your executable fil... (by Ganado)
Program That Seperates Even And Odds Error
Write your question here. Hello everyone my program separates even and odd numbers from an input(ve...
[7 replies] Last: You really saved me. Thank you for all your help with this program i ... (by neel3123)
how to keep track of headers
Hi, I'm asking this because I am reading and "learning" from a book however it does not give me all ...
[1 reply] : Include headers which contain stuff you need and remove others. wh... (by MiiNiPaa)
by marsb
smart pointers and simulations
I was studying Ira Pohl's predator-prey simulation online
[2 replies] Last: thank you. (by marsb)
Char* to int - can't get it to work!
Hello everyone! So my code is below; the issue is I want to make it so that the user enters a baj...
[7 replies] Last: Thank you everyone for your help! :) (by NookLines)
by CDavis
Do While statement using a Char
I'm using a do while statement and at the end I want the user to use Y if he wants to play again or ...
[4 replies] Last: One other problem: Line 8: srand() does not belong in the diceRoll f... (by AbstractionAnon)
by mehak
y is it giving an error...i hv declared it an extern variable then y does it say C:\Users\Mehak\Desk...
[1 reply] : Because you've said i exists in another translation unit, but you ha... (by AbstractionAnon)
by mehak
near,far, huge pointers
i've come across many questions concerning size of near,far and huge pointers but we hardly need to ...
[2 replies] Last: thnx :) (by mehak)
Even Odd Seperation Program
Write your question here. Hello everyone, I have to write a program that separates evens and odds. ...
[6 replies] Last: void separate(std::vector<int> &input) { std::vector<int> even, od... (by ne555)
Tic Tac Toe game
I am doing a Tic Tac Toe game and everything seems to work quite ok, but when it's Player O turn and...
[5 replies] Last: 1) having return 0; after break is pointless 2) If you want to hav... (by MiiNiPaa)
fabs versus abs?
I would like to know why there's 3 math functions to calculate the absolute value of a number: fabs(...
[1 reply] : C++ provides overload of abs() for all arithmetic types. fabs() a... (by MiiNiPaa)
Pages: 1... 5455565758... 91
  Archived months: [may2014]

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