Beginners (Page 3)

% modulo for random, remainder (1,2)
i know that % modulo can be used for remainder also know that % can be used for randomizig numbers ...
[20 replies] Last: with % in newer languages rand() must be built in useful (by programmerperson1)
Uppercase and Lowercase HELP
Hello everyone, I am stuck with this problem. The problem is ask user to enter a string, then con...
[8 replies] Last: Great. thank you guys. (by lizhley123)
'File Does Not Exist' Issue
Selecting any option (1-5) results in 'This file does not exist'. I've fiddled around, to no avail. ...
[9 replies] Last: Thanks, everything is working as it should now. (by idkwidlol)
by feeks
Create a program that inputs two integers and outputs the larger
I wrote this code and it only outputs the larger integer if the larger integer is the first number. ...
[6 replies] Last: 1. If num1 is larger, does the program output num1? (yes/no) 2. If num... (by PBachmann)
store data,read specific lines of data from a file and again store them separately into variables to be used further in program
I am working on a management system in which the user inputs some integers for different prices of i...
[6 replies] Last: Thank you for your help Bdanielz! (by noorulhuda)
Sleep () function , issue in c++
i am trying to make a very simple keylogger using the GetAsyncKeystate and i am adding the sl...
[1 reply] : If you remove the Sleep statement does the code execute properly? Coul... (by McNo)
copy array
how to declare another array(bigger), copy 1st array into it, then copy 2nd array after that, contin...
[1 reply] : #include <iostream> #include <algorithm> int main() { const int ... (by JLBorges)
How to get string that contains whitespace from .txt file and insert the data into linked list?
I'm using class and object and my data in "realestate.txt".I want to display my list but the output ...
[1 reply] : Not enough information. You haven't shown us what u and node look li... (by AbstractionAnon)
howthe main () function that will request input for value in inch from the user
float convert_cm (float inch) { float cm; cm = inch * 2.54f; cout << "Inch...
[2 replies] Last: See notes below, please make sure you read the tutorials. I would hate... (by tipaye)
DLL and linking problems maybe
Hello evryone firs of all what i am trying to do is to make a dll which hooks a specific process....
[2 replies] Last: Sorry i am stupid as hell didn't add any guard at all in the .h file (by stampovaniq)
arrays and functions final
Okay this is my final assignment for my coding class, i know how to do mostly everything but the fun...
[5 replies] Last: oh and your code was very helpful! can you explain how you use the sen... (by bardo99)
[6 replies] Last: Okay sorry, i will do as you say. (by bardo99)
<> instead of ()
hello people I've recently been studying the stl library and I noticed a lot of the classes in the s...
[2 replies] Last: thanks Moschops I'll read that now =) (by adam2016)
Classes and objects: Variables
From what I have understood declaring variables as public in a class is generally not good programmi...
[9 replies] Last: Not sure I can help with that. I'd need to study the algorithm which i... (by Chervil)
by Zorac
how to check if cin command from console worked (linux)
Hello! I have a program and that needs to read from a cin command in the terminal in linux. What i...
[4 replies] Last: I manage to get some help from a teacher and added C library with isat... (by Zorac)
by rrifai
cannot find issue with code
I need a program that allows the user to input the initial velocity in fps, the firing angle in degr...
[3 replies] Last: Or even better because less changes to OP: #include <iostream> #incl... (by kemort)
by Maru
Dice game not looping, & need help declaring winner
Making a Left Center Rigtht dice game, If someone rolls a 1(L), 3(C), or 5(R), then the player will ...
[1 reply] : You can't use the comma operator to chain multiple conditions you want... (by Peter87)
Vector Push_back of Array
So I got a vector of multidimensional arrays of doubles. The vector is created with this code std:...
[2 replies] Last: Thanks it worked fine. (by BeKinect)
Don't know how to save a file with 3D content
Hi everyone! I have a piece of code that compute a 3D shape. when I run this code, as a result it...
[no replies]
Help me with my Text Editor(very simple one....)
Ok,so ive written a very simple program which inputs and outputs raw data from a file.The program co...
[2 replies] Last: Hi, It seems you are looping on eof for an output file? Will need to ... (by TheIdeasMan)
Pages: 12345... 75
  Archived months: [mar2016]

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