Beginners (Page 51)

Help with encryption? Might have something to do with for loop?
So, if you type in hello, for example, it should output 114 140 58 58 144 If you type in one...
[2 replies] Last: windows.h should be the first header file. You don't reset c after ea... (by kbw)
read next line
Hi OK, i have txt file with this details FILE: Orange red blue now i know how can i get all line ...
[1 reply] : Hi raminlich there are so many ways to do that. and i wrote an easy ... (by hankstr100)
class within template class problem
Hi, i have an exercise to implement my own list class based on previously created Link class so ...
[8 replies] Last: Thank you very much for your effort. Really appreciate! :) (by etrusks)
Counting the number of guesses?
Hi! I took it upon myself to work on the most generic and cliche cpp beginner's program. And i can't...
[1 reply] : use proper indentation in l... (by anup30)
can someone check this? nightmare with functions
this is the error: build/Debug/Cygwin_4.x-Windows/main.o:main.cpp:(.rdata$.refptr.gameIsNotOver[....
[3 replies] Last: I'll define those variables and would putting the call to playerWins(... (by firedraco)
Why can't I input anything?
Whenever I run the program a number is automatically input and i just get this, 1 What is your name...
[5 replies] Last: Can you explain why though? Is there a specific benefit of string over... (by Arslan7041)
strcmp not working
To be exact: error: no matching function for call to 'strcmp' #include <iostream> #include <c...
[2 replies] Last: Line 13 won't work even if it compiles. strcmp requires two null-termi... (by dhayden)
by Gohmer
Arrays multiples
[no replies]
c char* to int(with 0)
Write your question here. int x= 0x00123ABC//RESULT IS 1194684 //CHAR EXAMPLE char *...
[1 reply] : Got it. As soon as i changed my google search from "char to int c" to ... (by azzclown)
Help needed for Basic Calculator
I need help with this. I am brand new to coding and I am trying to make a calculator but it keeps in...
[4 replies] Last: The way you check whether you should continue or not is wrong: if (z ... (by TheHardew)
Overloading operators
Hi I am studying Overloading Operators at class2. Even after I read explanation, I still don't under...
[2 replies] Last: That is not "canonical" op+. It is more natural to have op+ as a non-... (by keskiverto)
by Lee125
Function not working.
Can I know why my diplayItem didn't work? #include<iostream> using namespace std; clas...
[2 replies] Last: You didn't pass it any argument. When you declare it as: function(int... (by TheHardew)
Implementing a menu class: is it possible and how do I do it?
Hi everyone, Basically, I'm looking to create a class that allows me to set up multiple menus. As...
[2 replies] Last: You cannot declare functions in other functions, only in global scope,... (by TheHardew)
by Lee125
Private and public.
Can anyone explain why we must declare public and private in struct? example coding class...
[2 replies] Last: Encapsulation. You put money into your wallet. You go to shop. You ... (by keskiverto)
Code stops when calculating change using functions
I was to write a code to calculate the total meal for a customer and then give them the total number...
[1 reply] : Please use code tags when posting code. Next you should be getting se... (by jlb)
Recursive issue
I have a recursive maze problem here but it marks everything that has a '.' in the matrix as an 'x'....
[10 replies] Last: ohhhhh, my bad......Just trying something alittle different.......I l... (by ZeroSploit)
declaring strlen
hello i have some difficulties declaring strlen, im new to programming. #include <iostream> ...
[3 replies] Last: @abstractionanon oh i forgot the c in the header, and thanks. @jlb my... (by seema96)
by Lee125
Different between class,header,source,template?
Can I know what is Different between class,header,source,template? When we should use each type. ...
[1 reply] : Did some googling and found a few definitions. Class Classes are a... (by CLman94)
Bigint Mulitplication
Here I've got a bigint calculator that uses a safearray class(not shown) to store large numbers and ...
[no replies]
sum of the numbers
#include<iostream> using namespace std; int main() { //1+2+3+4+<=10 // 1+2+3+4+5+6<=21 int s...
[3 replies] Last: #include<iostream> // #include<string> using namespace std; int main(... (by ZeroSploit)
Pages: 1... 4950515253... 86
  Archived months: [mar2015]

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