Beginners (Page 68)

don't know what's wrong, compiles and runs but breaks
I'm trying to count a given text files words and letters, and sort the words alphabetically. It comp...
[1 reply] : You have several functions that promise to return values, but don't al... (by cire)
Can someone explain to me in details regarding this code vector<string> wordlist : dictionary (wo...
[2 replies] Last: I am also interesting about this syntax. I guess it's using C++11 syn... (by h4ever)
by mehak
possible permutations of a string
i am trying to print all possible combinations of a string but em getting garbage values.please help...
[2 replies] Last: oh tht where i made a mistake.tnx alot (by mehak)
Linked Lists in Classes - Program Not Working
Hey there I'm having trouble with coding linked lists as a class. This is my "Lists.h" file: #in...
[2 replies] Last: Thank you sooo much, kind sir!! Fixed my problem, plus, I was getting ... (by TweedleGun)
Random numbers
So i've this problem with this array It is assumed that the values ​​of the array must be ran...
[1 reply] : You need to seed a rand() function, however you will have to add a lib... (by Jakee)
Creating Strings from char arrays
Hello! I have a problem that needs me to load a char array from a file, make every line of that arra...
[9 replies] Last: Thank you. That helped. (by Bluebaron)
Need Help with this simple math problem
Write your question here. I have a formula. PV=FV/(1+r)^n Fv = $250.00 the letter r ...
[2 replies] Last: I figure it out. Sorry I posted too soon. Here is my working program ... (by Youbob1212)
Loading an array
Say I have array ={0}; And I have string line1("HelloHello") How could I load/make equal array...
[1 reply] : First of all, if you're initializing an empty array, you can just do: ... (by Kevin2341)
by Jakee
First Program, Please Review!
Hey guys so I made a Rock Paper Scissors program, you enter an input and a computer chooses one and ...
[1 reply] : int _tmain(int argc, _TCHAR* argv ) That is not a signature for C++'... (by keskiverto)
signed and unsigned types expression
I recently researched that it is better to avoid the use of expressions that mix signed and unsigned...
[1 reply] : Implicit conversions. In your int a {-1}; unsigned int b {1}; auto c ... (by keskiverto)
Problem with dynamic allocation of a struct.
The first allocation was working well but when I coded the second allocation, it is showing an error...
[2 replies] Last: Thanks, it works now! :D (by carlplusplus)
moving a character around a 'board' on screen
So basically, I have a 2d Array that is 3x3. I have made it a class called "Board", and the construc...
[4 replies] Last: @a k n, thank you for your help, all's working well now! (by jaybirdthomas)
by h4ever
how to initiate vector & fill values
I am using C++03 on Windows. I am making program where I parse command line parameters. I created o...
[no replies]
by mekki
hi, i am about to simulate the solar system - the math is done but i have no idea how to convert my...
[2 replies] Last: thx a lot, cheers m (by mekki)
Need guidance for C++ and more...
Hello everyone, I really want to jump in C++ and begin programming with that powerful and beautifu...
[3 replies] Last: Thanks a lot for your replies!!! I find "C++ Primer" a very interestin... (by Greenthing)
Im having trouble subclassing a dog and cat as children of parent class Pet. I am more used to writ...
[no replies]
2 consoles open with one program
So i am working on a simple game that is made in the console. it is an rpg. the character is an @ si...
[1 reply] : RPG.bat start Game.exe start Level_Up.exe and then i sent it to my d... (by Antone333)
[2 replies] Last: Hmm - deleting the question isn't very helpful. How is anyone to tell ... (by Chervil)
code works but doesnt perform calculations
#include <iostream> #include <cstdlib> using namespace std; int main( ) { double id; ...
[1 reply] : You forgot to add weeklyFee to the last line. It should be: cout << "... (by gwslow)
Help with login system.
Hi i posted earlier with a login system and now i've improved it but there is still some errors. I ...
[no replies]
Pages: 1... 6667686970... 91
  Archived months: [may2014]

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