Beginners (Page 77)

Function call from class
I try to call a function that needs an argument and I can´t figure out what argument that is. Can a...
[2 replies] Last: Exactly, the problem when I take away the vector in class Konto { pub... (by patriic48)
Recursive Function Conundrum
Hi everyone, I'm a novice to the world of C++ and I've a logical question. I'm working on a code ...
[1 reply] : factorial(4) if (4 == 1) // No result = factorial(3) * 4 if ... (by Smac89)
overloading template<class T> operator>> for vector<T>
Hi, i want to ask for advice how this one thing could be done. I want to overload this operator te...
[6 replies] Last: @fg109 Are you sure that it's giving you an error for that line? I co... (by etrusks)
could somebody correct my code
Could somebody correct my code. it gives a error message when I verify stating expected unqualified ...
[2 replies] Last: Thank you very much for the reply. but I still couldn`t get it right (by isuru7777)
by ye23
Guessing the number program Advice
Have to make a Guessing Game Program and been stuck for a bit cant figure out my next step I have to...
[2 replies] Last: thx apperciate it but it turns out the code kept crashing for me so i ... (by ye23)
by savanh
hello, i hope u doing well all. I have this question compsition inshilizing by copy constructor ,but...
[2 replies] Last: [quote=savanh] compsition inshilizing by copy constructor I have no... (by ultifinitus)
error: expected primary-expression before } token
Write your question here. Hi, I'm having an error that I'm sure is a very easy fix, but I just cann...
[1 reply] : Ohi! You didn't declare the student object before calling student.r... (by ultifinitus)
Program returns garbage value
I understand that since the value requested isn't found, there is no "id" available for it, so the...
[1 reply] : Perhaps the question you want to ask doesn't really have to do with ex... (by ultifinitus)
by mi6aka
bool function return
hey guys, I am trying to write a function which compares 2 arrays of characters. At the end it only ...
[2 replies] Last: Glad you figured it out! Looks to me like you included your else state... (by ultifinitus)
cout not declared?
I'm teaching myself and bought a c++ compiler and I can't figure out why this cout is not declared. ...
[7 replies] Last: Things can get pretty messed up. The first two answers do a pretty goo... (by closed account 2LzbRXSz)
Deallocating Pointers with Arrays
I need to deallocate arrayPtr in my addNumber function. I know I'm supposed to use delete to somehow...
[6 replies] Last: ultifinitus Thanks for the explanation. It makes a lot more sense now... (by misskmarie)
Function call from a class
Write your question here. Whn i call this function in Bankaccounts.cpp - file from my main nothin...
[2 replies] Last: Thank you very much Peter87 - That solved my problem, I really appreci... (by patriic48)
Using pointers?
Hello. I'm trying to get into pointers. Let's say this was real program. //... else if (mood =...
[6 replies] Last: Yes. (by TarikNeaj)
Bulls and Cows
Hi everyone, I was asked to write a Bulls and Cows game for homework and I've done the most. But cou...
[2 replies] Last: This is my code for this exercise but using letters This was more comp... (by etrusks)
by eastw
How To Calculate Frequency In An array
Assume the array has [0 0 1 1 1 0 0 0 0 1 1 0 1 1 1] I would like to store 1's that has been repe...
[1 reply] : Why u dont try something like this?: arr = [0 0 1 1 1 0 0 0 0 1 1 0... (by EdevanX)
Please correct Program
When is Wrong in my program please cerrect it . #include <iostream> #include <string.h> using ...
[3 replies] Last: This code works, don´t forget to comment your code in the future. #... (by patriic48)
by Cobey
save value as Pointer address
Good Night/Morning CplusCplus int i = 123456; how can save Value i as address. Like: printf("Ad...
[3 replies] Last: stringstream (by Cobey)
strstr() overloading?
[3 replies] Last: What do you expect to happen, if you do: const char * foo = "Hello"; ... (by keskiverto)
Random Number Guessing
I'm pretty new to coding so please excuse me if these are dumb questions. This code needs to prompt ...
[13 replies] Last: You continue to define your function within int main(); I suggest you... (by germanchocolate)
Converting string to hex
Hello. I need to convert string of decimal number to hex. I need the string to remain string (or at ...
[7 replies] Last: Thank you all. I'd be grateful if someone link me some good sources of... (by mighty asker)
Pages: 1... 7576777879... 91
  Archived months: [mar2015]

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