Beginners (Page 104)

by Blank
Code is not working
When i run my code an error pops up and its say something about the declaration of my variable "SIZE...
[1 reply] : Windows (in windef.h included in windows.h) declares type called SIZE.... (by MiiNiPaa)
Concatenating Bytes?
I have two integers below and their binary string equivalent. The 2 is the comes first. These two ...
[4 replies] Last: I think I've figured it out.. With your help of course 0010 1001 111... (by dominover)
by plp384
Using else if multiple times
I had a programming exercise to do that seemed easy at the surface but hard to write. Is it normal ...
[4 replies] Last: it is possible to write else if 13 times, but in that situation you sh... (by Lorence30)
How to use Node as a return type in a class?
Hello, I am new to C++ and I am confused as to why I cannot utilize Node* as a return type for func...
[1 reply] : Class Node is a) Inner class so it can only be accessed from outsid... (by MiiNiPaa)
class that will hold a collection of elements
say for example i got this code Foo<string> f1; What is the structure of foo? is it like a ...
[1 reply] : In your example Foo is an template class. It might look like that: ... (by MiiNiPaa)
Argument vector
Hello I'm having trouble with reading from argument vector. I'm setting up a kind of a debugging m...
[2 replies] Last: Gotcha. Thank you. (by Stremik)
by akai09
Does this seems right???
#include <iostream> #include <iomanip> using namespace std; int main() { cout << fixed <<...
[7 replies] Last: ill give you a hint... cout << "*" << endl; (by novellof)
Indicating weither or not a value is an integer or Floating Point Value.
Write your question here. I'm really not understanding these exercises. I'm trying to learn but my ...
[7 replies] Last: :facepalm sorry, yes 2.5 (by novellof)
Problem in printing A*B where A and B (1≤A, B ≤10^18)
I went through a simple problem given below: Your Task is so simple given to integer number A , ...
[4 replies] Last: You already started this same thread somewhere else. Anyway the soluti... (by Smac89)
by Musi
Global instance error.
I've been trying to create a global instance of a class but when i use it i get an "Unresolved exter...
[1 reply] : Is Global.cpp being compiled? It needs to be part of the project. (by LB)
I'm new to this and I'm a beginner at c++. I need some help with some questions that I've been tryin...
[4 replies] Last: #include <iostream> #include <iomanip> using namespace std; int main ... (by novellof)
How to insert a blank line
Sounds really dumb and simple, but I can't figure out how to create a space between certain lines. H...
[4 replies] Last: cout << endl; or "\n" inside a text string like: cout << "This is a ... (by novellof)
by Salad7
What exactly does clock() do?
I guess i understand that it starts as so as the program starts but in this example it loops, not as...
[3 replies] Last: Thanks! (by Salad7)
by Salad7
How to toggle GetAsyncKeyState?
I want to create a toggle method using the insert key as an on and off switch, i have other code but...
[2 replies] Last: Ahhh perfect thanks (by Salad7)
2D String Container Library Arrays
Hello everyone. I've taken a look around the forums and haven't been satisfied by some other posts r...
[no replies]
Why does i keep a constant value?
Whatever values I put i=1968461930 Why? the finished program is supposed to calculate the leap ...
[2 replies] Last: Your problem is with your assignment operators...You are not using the... (by novellof)
Hello i am new at C++ and was hoping you could give me some links to websites that could provide goo...
[8 replies] Last: at the same links listed above? The materials are just published on... (by wildblue)
Printing out a diagram
How would i go about in writing a program that prints the following diagram just as it appears. It's...
[4 replies] Last: ok thanks ill try it out and see if it works (by LATCH100)
by gduong
return a pointer to an array from function
On this line of code *m = arrayAllocator(size); I am getting an error, line 12, for *m saying t...
[1 reply] : You cant convert from int * to int . m is already declared... (by shadowCODE)
What r differences between *p and **p in C++
int **P *p=&x; is p point to the x's address's address? and *p point to the x's address? **p=n?
[1 reply] : *p1 = &x means p1 holds the address of x . In other words, p1 p... (by shadowCODE)
Pages: 1... 102103104105106... 120
  Archived months: [aug2014]

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