
please wait
by ephraimr
How do I find the reason for a (!cin)?
|
Suppose an input failed. int a; cin >> a; if(!cin) cout << "Input failed"; The program outputs "Input failed" if user types in "hello" or a ve... |
Jan 2, 2016 at 12:03pm
[3 replies] Last: I found this information at cppreference.com: http://en.cppreference.c... (by Peter87)
|
C4droid libraries |
Hi! It is possible to add libraries(like GTK) to C4droid or any other Android C++ IDE ? Thanks ! |
Jan 2, 2016 at 9:53am
[1 reply] : Anyone ? (by StefanCPlusPlus)
|
by sapkota
How to loop a program?
|
I'm fairly new to C++ and have been having a lot of fun recently messing around with the language however, I haven't been able to figure out something. I would... |
Jan 2, 2016 at 8:34am
[5 replies] Last: Favour writing many small functions: #include <iostream> char get_c... (by JLBorges)
|
by jcelestin
Functions and Arrays
|
This is my first time really coding and i'm having a very hard time. My assignment is to use an array of integers an print the array out in five columns, find t... |
Jan 2, 2016 at 8:18am
[6 replies] Last: i been trying to figure out bubblesorts but I'm not understanding do ... (by jcelestin)
|
by mpark4656
Pig Latin Program - Need FeedBack and Improvement Suggestion
|
This programming exercise is from my TextBook The Programming Example: Pig Latin Strings converts a string into the pig Latin form, but it processes only one w... |
Jan 2, 2016 at 8:07am
[no replies]
|
by ephraimr
How to ensure random int are unique in Bulls and cows?
|
Here is a segment : void fill_ans() { for (int i = 0; i < digit_size; ++i) ans.push_back( rand() % 9 + 1) ; // a random integer belonging to [1,9] //fo... |
Jan 2, 2016 at 5:35am
[3 replies] Last: Thanks a lot, both of you! (by ephraimr)
|
by Zakusa
jailbreaks, hacks for games, emulators whats needed
|
hi i want to know what i need to know to make jailbreaks ( for iphones and consoles ), hacks for games, and emulators so ya what do i need to learn to make this... |
Jan 2, 2016 at 4:10am
[2 replies] Last: Zakusa how much about hacking do you know?? (by suppa)
|
by C0D3FR3AK
Undefined Reference Error?
|
For some odd reason I'm just now getting errors when I open and run my program in Code::Blocks. It was working before but now I get a "undefined reference to B... |
Jan 2, 2016 at 1:18am
[6 replies] Last: Cire, yes my functions are part of my project and are connected to my ... (by C0D3FR3AK)
|
when u learn defines for first time |
no questions just messing around with some ghetto++ #include <iostream> #include <stdexcept> #define shank 0 #define OK ; #define SLAMMIN return #... |
Jan 2, 2016 at 12:10am
[3 replies] Last: Well... he/she closed their accounts... so this is awkward. (by TarikNeaj)
|
by gendy
IDEA Pretty new here
|
so i am thinking of an idea which is to make an app that can turn off/on the router [wifi-access point] with your smartphone and i got an idea and i need your h... |
Jan 1, 2016 at 11:16pm
[8 replies] Last: @naraku9333 the objective of that is to save power and save my router'... (by gendy)
|
by etrusks
std::copy kind of not working
|
Hi, I tried to copy array of chars into string but for some reason it didn't work #include <iostream> #include <string> #include <algorithm> #include <cstring... |
Jan 1, 2016 at 8:42pm
[7 replies] Last: Cool man. First time I actually see something like this. Much apprecia... (by etrusks)
|
by DigitalF4ce
i need Help with a small bit of code
|
Im trying to output the person who ate the least, this is from the begginers exercises for some reason the variable temp only takes the variable person, no ... |
Jan 1, 2016 at 6:21pm
[4 replies] Last: managed to implement the changes and it now works I havnt done much w... (by DigitalF4ce)
|
by rofhiwangae
refernces and pointers
|
hey guys i wanted to knw if one can create a reference to a reference and a pointer to a reference n cud one show me how to rite it in code....my theory is down... |
Jan 1, 2016 at 4:26pm
[5 replies] Last: well i can use v.back to access last element witout iterating thru de ... (by rofhiwangae)
|
by malkews
modulu
|
Write your question here. int x; x= (x%2)?1:2; what does this do "?1:2" please help???? |
Jan 1, 2016 at 3:43pm
[2 replies] Last: It is a ternary operator used for short if/else cases. The above code ... (by Stalker)
|
by etrusks
Unspecified number of arguments C style
|
Hi, I'm having a little bit of trouble understanding the example in Stroustrup's book about this topic because its kind of not working. This is basically the... |
Jan 1, 2016 at 2:55pm
[4 replies] Last: Ok tnx a lot for nice info :) and happy New Year! (by etrusks)
|
by nsganon101
navigator not working
|
I can't seem to get this code to work. I'm just beginning c++ and this is one of my assignments. For some reason it says the + and - operators won't aren't doin... |
Jan 1, 2016 at 12:29pm
[3 replies] Last: Thank you both a lot. I only have one more problem, I can't seem to ge... (by nsganon101)
|
Optimal method to store string with spaces |
I'm trying to read from a file that has several records within it. For instance... one line will include: school name, year, term, course name, etc. which is b... |
Jan 1, 2016 at 1:35am
[18 replies] Last: explain the block of code between lines 18-26? They look like functio... (by closed account E0p9LyTq)
|