Beginners (Page 4)

by GabeJ
1 pound outputs as 16 ounces
Enter kilograms:0.453597 Enter grams:0 0.453597 kilograms, 0 grams is equal to 0 pounds, 16 ounces...
[12 replies] Last: Looks good, if you like try also the following from https://en.wikiped... (by kemort)
[1 reply] : You have essentially: char res; cin >> res; if (res == 'yes') Doesn'... (by keskiverto)
Parameters and arguments
For functions in C++, the tutorial says its syntax is : type name (parameter 1, parameter 2, ... ) ...
[5 replies] Last: it helps me to fix my confusion. I appreciate it, Kevin C. even a lit... (by kevinkim)
Array counting instances of negative and numbers that go beyond array size
Hello i have a problem with array counting instances of negative and numbers that go beyond array si...
[11 replies] Last: @Kevin C yours works too and much more simpler O.O and thank you for ... (by luv2program)
by samrux
Creating objects of a cartesian plane: What else can I do?
For self-educational purposes, I'm making a namespace cart with classes point , line , shapes, e...
[11 replies] Last: Oh, I forgot another thing: return this->inverted(); is the same... (by Kevin C)
Just a beginner and need your help sir
Sir, my prof says we need to make a program that will find the largest number among the 5 inputted n...
[5 replies] Last: Sir Kevin C, this does work. thank you very much! Thanks also to sMav.... (by NoobDeveloper)
System() command Dragging a file into another
Ok so Im trying to Auto run a photoshop droplet. I know the system() command is evil but its going t...
[5 replies] Last: Its based on droplets which require you to drag and drop a file onto i... (by CryptiKau)
How to chose randomly from a array??
How do I set a int to a random array number? (look below) //Odd or Even! #include <iostream...
[10 replies] Last: <random> is a C++11 addition. (by FurryGuy)
by Sauvok
Need help: cin contents to a vector
Hey guys! So I'm trying to write a basic program that would allow the user to input a set of number...
[7 replies] Last: Thank you so much Kevin C! A lot of help! AND fast replies! I really ... (by Sauvok)
by sraiwt
Arrays are killing me... Please help!
Can anybody please explain to me why this is working? Using DevC++ IDE with TDM-GCC 4.9.2 ...
[7 replies] Last: Read the comments to understand. int main() { double array ; ... (by RizwanAnsari)
by cCj
reference to static function variable
This is quite weird question but is it possible to have a reference or something to a static variabl...
[2 replies] Last: @helios: saying 'no' and then 'yes' at the same time is confusing. @c... (by LB)
by Dazzer
Beginners frustration........
Hi guys & gals, I wonder if anyone could give me some pointers to relieve this beginners frustratio...
[3 replies] Last: To create cross-platform GUI applications, you can try https://www.wx... (by Kevin C)
by thor36
Strange behaviour of compiler - project didn't want to build again
Greetings all, I have a strange situation with GCC ARM Embedded compiler, which I would like to u...
[4 replies] Last: Thank you for reply @FurryGuy I suppose it is, because now it built. B... (by thor36)
by Quark
Exception specification in derived class destructors
Hi there, I am reading a book on C++ and I have a problem understanding exception specifiers in d...
[11 replies] Last: > Why would one want to declare destructor of an exception class virtu... (by JLBorges)
by samrux
Function template recognizing quoted text as const char* instead of an std::string
I have this (dumbed down) function template inside a namespace M of my own: On M.h template <typ...
[5 replies] Last: A minor point, but I'd define print(int, int, const char *) and then... (by dhayden)
Help with VK
I need help with setting up some C++ code Make it so if you hold down Spacebar it spams it using...
[3 replies] Last: James has right! (by robert172)
by Ananta
Help to use HTML code in C++
Hi.. I'm a beginner level c++ programmer. I want to use html in my program for web. How can I use ...
[2 replies] Last: I've sent email to Regards! (by robert172)
Void Returning Function - Assigning Inputs to Variables
Okay, so I was asked to use functions in order to write a program that prompts the user to enter thr...
[2 replies] Last: thank you helios for the clarification! (by rubbertoetpc)
Linked List Sorting
Implement a linked list ADT to perform any 4 types of sorting algorithms on 3 different size of nume...
[2 replies] Last: Hi Daniel, Ask Hammer for answer or google it instead of hoping someon... (by qder12345)
by Atton
substr crash
I've been trying to split a string into 6 parts using substr. For one reason or another I seem to cr...
[1 reply] : Line 3 is pointless because you just overwrite it on line 4, and you n... (by LB)
Pages: 123456... 31
  Archived months: [jul2015]

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