Beginners - January 2016 (Page 29)

How do I find the reason for a (!cin)?
 
Suppose an input failed. int a; cin >> a; if(!cin) cout << "Input failed"; The pro...
[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 !
[1 reply] : Anyone ? (by StefanCPlusPlus)
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 ho...
[5 replies] Last: Favour writing many small functions: #include <iostream> char get_c... (by JLBorges)
Functions and Arrays
 
This is my first time really coding and i'm having a very hard time. My assignment is to use an arra...
[6 replies] Last: i been trying to figure out bubblesorts but I'm not understanding do ... (by jcelestin)
Pig Latin Program - Need FeedBack and Improvement Suggestion
 
This programming exercise is from my TextBook The Programming Example: Pig Latin Strings converts a...
[no replies]
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( ra...
[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 gam...
[2 replies] Last: Zakusa how much about hacking do you know?? (by suppa)
Undefined Reference Error?
 
For some odd reason I'm just now getting errors when I open and run my program in Code::Blocks. It w...
[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> ...
[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 poi...
[8 replies] Last: @naraku9333 the objective of that is to save power and save my router'... (by gendy)
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 <iostre...
[7 replies] Last: Cool man. First time I actually see something like this. Much apprecia... (by etrusks)
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 ...
[4 replies] Last: managed to implement the changes and it now works I havnt done much w... (by DigitalF4ce)
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...
[5 replies] Last: well i can use v.back to access last element witout iterating thru de ... (by rofhiwangae)
modulu
 
Write your question here. int x; x= (x%2)?1:2; what does this do "?1:2" please hel...
[2 replies] Last: It is a ternary operator used for short if/else cases. The above code ... (by Stalker)
Unspecified number of arguments C style
 
Hi, I'm having a little bit of trouble understanding the example in Stroustrup's book about this top...
[4 replies] Last: Ok tnx a lot for nice info :) and happy New Year! (by etrusks)
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...
[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 in...
[18 replies] Last: explain the block of code between lines 18-26? They look like functio... (by closed account E0p9LyTq)
January 2016 Pages: 1... 272829
  Archived months: [dec2015] [feb2016]

This is an archived page. To post a new message, go to the current page.