Beginners (Page 22)

sizeof and how many bytes
 
Hello, I tried to do some experiment. The result are different and confused. Could anybody explain w...
[3 replies] Last: ohh now I got it, thanks! (by soulworld05)
arrays
 
I have this problem that I am working on that i have to create an array of 10 random numbers and the...
[1 reply] : Hello mpj91bv, PLEASE ALWAYS USE CODE TAGS (the <> formatting butto... (by Handy Andy)
How to get size of a character
 
Hello. Currently, I am creating a game called Hangman. Whenever the program asks the user to pick a ...
[1 reply] : if you just need 1 character from the stream you can just throw away t... (by Yolanda)
Need help with code
 
Hello everyone I am in need of assistance for this program that I am writing. When I run the program...
[2 replies] Last: Thank you very much felt like bagging my head against the wall for som... (by nickp220)
C++_Templates_No1
 
#include <cstdlib> #include <iostream> #include <vector> using namespace std; class Complex { ...
[1 reply] : #include <iostream> class Complex { public: Complex (double re ... (by Enoizat)
too much cpu usage from my thread pool.
 
so i have written a command line utility program that scans a directory for files ["dat","txt",...] ...
[13 replies] Last: @kbw thank you very much for the suggestions, i'll definitely try that... (by Yolanda)
by vysero
Unused method arguments
 
I will get straight to it. Let's say I have the following method deceleration: QString makeVer...
[4 replies] Last: Is there a common method for documenting an overloaded method? For ins... (by vysero)
My array sorting isn't working
 
Hi, Arrays are a really weak area of mine. I have a program that opens text files(the files contain ...
[1 reply] : C-style arrays decay into pointers when they are passed to functions. ... (by Enoizat)
Tracing output confused at some points!
 
i am having some real difficulties in finding out the output in the following code i tried tracing i...
[2 replies] Last: " // to the second (x) shouldnt it only accept (y)? Not sure what you ... (by truckboy98)
by ashwyn
Help debugging pointer problems
 
Hello, I am making the game Yahtzee as a school assignment. Below is largely outline code, and b...
[2 replies] Last: Thank you for your help. I think that fundamentally the problem is th... (by ashwyn)
change number to operator
 
I'm having hard time trying to change the line in 59. op will say 1,2,3,4. I want it to say +, -, *,...
[3 replies] Last: Thank for all the help, I cant use char and , since its not part of s... (by soulworld05)
Exeption unhandled
 
Hi guys.I have problem my code wont debug . V This is Vector.cpp Vector Vector::Add(const Ve...
[2 replies] Last: Thank you for the answer. (by Zivojin)
What is umlaut in turbo C?
 
Hi again guys! I am looking for the info about these the umlaut A, exponent 3 and that upside down q...
[5 replies] Last: jonnin you mean like launching a web browser for output? That's actual... (by Nwb)
How to link libraries on macOS?
 
My folder structure looks like this: . ├── src │   └── main.cpp └── vendor ...
[1 reply] : I'e solved the issue by adding -rpath argument when compiling: run:... (by wengwengweng)
Auto clasifier
 
Hi there! I hope someone can help me with a little explanation for a clasifier. The 'auto' speci...
[5 replies] Last: its a tool :) sometimes it makes code more readable and is handy, and ... (by jonnin)
Pair of numbers
 
Hello I have homework to do. i have to write a cpp code I have to cin N and it has to cout every...
[4 replies] Last: Thanks a lot buddy . U helped me a lot :) (by parzival69)
Using Rand()
 
Hey, I am working on a project for class where I need to create a very basic game. The short vers...
[5 replies] Last: > I am not sure what you mean why nested though this is what you have ... (by ne555)
by quete5
Why is this undefined?
 
Here is the instructions from a book of mine: Write a program that calculates the average number of...
[5 replies] Last: Hello quete5, Line 26 like ne555 said you have the variable name "num... (by Handy Andy)
by quete5
order of code not letting cout show?
 
I'm writing a program that shows the average leaves taken by an employee. I'm trying to figure out w...
[4 replies] Last: Isn't this a duplicate of: http://www.cplusplus.com/forum/beginner/24... (by MikeyBoy)
random letters array
 
Each letter in the letter matrix will only be used once. For example J x U f B u F y D z S g N ...
[3 replies] Last: how do we write the matrix again in alphabetical order. If you were ... (by lastchance)
Pages: 1... 2021222324... 38
  Archived months: [oct2018]

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