Beginners (Page 71)

by Typ
Count repetitive Input (Array)
Hello again, I wrote a modular program, which -gets 10 integers and saves it in an array, -sorts...
[4 replies] Last: If the array is sorted, you can rely on this to count the number of re... (by Smac89)
100 - 1 = 990, 990 - 1 = 980 while 120 - 1 = 119 and 119 - 1 = 118
This Code: for (int cntr = 100; cntr >= 0; cntr = cntr - 1) { std::cout << "\r\r\r" << cntr <<...
[8 replies] Last: Or just... use a newline... (by NoXzema)
extern versus namespace (1,2)
I've almost never used the keyword extern, in fact I've never needed it. If you want to use function...
[20 replies] Last: Although, I would agree that most of zwilu's arguments are nonsensica... (by closed account jvqpDjzh)
simulate key press
i would like to simulate the "w" key being pressed. as if iwas pressing it on the keyboard but the c...
[1 reply] : why would you need to simulate having w pressed? why cant you do this?... (by The noob guy)
espression with unsigned
Write your question here. #include <iostream> int main() { unsigned u1 = 42, u2 = 1...
[2 replies] Last: I do not understand what is the meaning of the expression itself Let ... (by helios)
by ak16
Can bit-fields only be fields of a structure/union, never “normal”, “stand-alone” variables?
[6 replies] Last: What would that accomplish? A bit field that is not part of a struc... (by AbstractionAnon)
can someone show me how to perform modulu?
[1 reply] : seriously dude, goo... (by mutexe)
Please I need help
Am creating a menu - driven application that aceepts amount outstanding for ten customers and displa...
[1 reply] : Lots of careless mistakes. The compiler is telling you everything th... (by AbstractionAnon)
What command line do I write C++ in
Hi, this is a terribly awkward question. I am trying to start learning C++ but do not know what I ...
[5 replies] Last: @justinelandichoruiz You do realize that that is now 4 years old? Hint... (by NT3)
by CPHoff
How do I transfer contents of text file to a database?
Hi, I am using C++ Builder 6 and am attempting to read the contents of a text file and output it...
[12 replies] Last: Another idea for the output, put in a comma-separated format, save it ... (by Chervil)
by h4ever
How to remove error in for each command? (1,2)
How should to remove error in for each command? I try to find alternative to foreach command (e.g. i...
[22 replies] Last: I will live without v11. Simple :-) (by h4ever)
help me about error" expected primary-expression before "struct" "
When I write the following function gives the following error What is the problem? #include <c...
[5 replies] Last: there are a couple of issues that spring to mind. Firstly, t is decl... (by Jaybob66)
by mehak
To find if a given string is a rotation of a pallindrome
i am a computer science student and i tried making a code to find if a given string is a rotaion of ...
[1 reply] : 29: error: cannot convert ‘std::string’ to ‘const char*’ for ... (by Peter87)
console random movement gen help
im needing help with mt game im making. im trying to make the letter i in my game move randomly with...
[1 reply] : Something like this: case 'i': int org_x = x; int org_y = y; x ... (by coder777)
by mgarza
Hello all I have a problem with a program that I have to write. I started it already but I cannot fi...
[6 replies] Last: Yes, as kesk said, you need to ask your professor: what to do in an ev... (by closed account j3Rz8vqX)
Understanding an Instance
I am trying to understand what an instance is. I was trying to read on the internet but it's still n...
[8 replies] Last: I think I have the idea and the concept but it would be more clear if ... (by Alqhtani)
Write a C++ program that will calculate the average of each student, as well as the class average. ...
[1 reply] : Provide what you have so far, then we may be able to help you. Exampl... (by closed account j3Rz8vqX)
Undefined References
I just finished typing up the last few functions for bank_accounts.cpp, and I'm getting two undefine...
[4 replies] Last: gotcha, thank you. I can't believe I missed that. (by vmkplayer1993)
Running a C++ script
Hi guys, I'm new here and as well as C++. I'm using Notepad++ for now. I've a written the very fir...
[3 replies] Last: @NT3: Thanks for info. Can u please send me the links to the files I n... (by DnWarrior)
Can anybody explain how to put blanks in function printf? I mean suppose i need to write n = ...
[4 replies] Last: thanks, guys. (by LayMuon)
Pages: 1... 6970717273... 90
  Archived months: [may2014]

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