Beginners (Page 69)

Function Overloading logic / understanding
 
Hi All, I am literally just beginning learning C++, following a beginners 21 day tutorial... I...
[3 replies] Last: Yes. (by Peter87)
enemy keeps leaving screen
 
My game right now has a random movement setup for the enemy 'i' but it keeps leaving the screen. any...
[3 replies] Last: Your algorithm isn't incorrect (intended double negative). I am sayin... (by closed account j3Rz8vqX)
2D array
 
Say for example, I have a 4x4 matrix of numbers in a file. 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 ...
[5 replies] Last: In the above, we read data from one array to populate another. For a ... (by closed account j3Rz8vqX)
Temporary Variables
 
Once the function is executed, wouldn't the memory used for pc be freed? In that case, there would ...
[2 replies] Last: You should see the difference between stack variable char* pc and th... (by JockX)
Function problem
 
Write your question here. #include <stdio.h> #include <stdlib.h> typedef struct node { ...
[2 replies] Last: sorry some stupid connection mistake ...exactly that! i wrote that as... (by polka21)
by stlund
Function overloading with Float and Integers.
 
So I'm trying to make a program that calculates celsius to fahrenheit with function overload. I h...
[3 replies] Last: You can write an overloaded version of CTF as well, float CTF(float ... (by eyenrique)
function prototype vs non prototype
 
hello i just want to ask if there is a difference between prototype function and non prototype. exa...
[5 replies] Last: I see thanks all my question has been answered thank you all (by Lorence30)
Give the error c++ help me please!!
 
#include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <cstring>...
[5 replies] Last: You have only created the Car class. If you don't know the difference ... (by Peter87)
Login system help
 
Hi! I am new to c++ and i want to do a login system for a program i am working on. I want it to use...
[2 replies] Last: Thanks for the help. Yes i mean user2 and user sorry for that. Uhhm i ... (by Space Spaghetti)
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
bit-fields
 
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)
modulu
 
can someone show me how to perform modulu?
[1 reply] : http://www.cprogramming.com/tutorial/modulus.html 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)
Pages: 1... 6768697071... 89
  Archived months: [may2014]

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