General C++ Programming - October 2015 (Page 6)

how can i create a new console?
 
i'm trying build a class for create and use a console: HANDLE hPipeRead,hPipeWrite; SECURITY_ATTRIBUTES tSecur; PROCESS_INFORMATION pi; STARTUPINFO...
[6 replies] Last: I don't understand incomplete sentences. (by Duthomhas)
command line program
 
My program needs to read a Polish expression from the command line, for example expr 2 3 4 + * evaluates 2 x (3+4). When I try to compile this, I get the ...
[6 replies] Last: Because the author of that code is a true programmer hack, and eithe... (by Duthomhas)
Arrays
 
I have a problem and it asks "Place your function prototype for fillArray here", I'm not really sure what it's asking.
[1 reply] : int some_func(int); // prototype/declaration int some_func(int va... (by cire)
Loop until ESC and then redim array..
 
Hey all :) In my console app, a simple beep sequencer, I have set up a loop to allow 10 notes to be entered with octave and duration settings for each which ...
[1 reply] : Actually, I think I'd need to move the re-dim code to outside the whil... (by hardwired)
how can i blink the text?
 
how can i blink the text? on my console class i did: static void BlinkTexttherad(string text, int x=0, int y=0, int delayMilliSecs=500) { string t...
[10 replies] Last: thanks for all (by Cambalinho)
code block
 
I am using code block as compiler,if I want to jump to different page after it had been compile and run after user insert certain number or word that had been s...
[no replies]
Proper use of linked list
 
I am trying to grasp the concept of linked list and how they connect by reading in a word 'bob' ...Is this correct or do i need to create another node?: struct ...
[6 replies] Last: error: Debug Assertion Failed! file names Line: 1681 Expression: st... (by nameishi)
Printing data in one single line in a txt file.
 
Hi fellows! Can you help me out with this issue? What happens is that I want to print random ASCII symbols in a single line of a txt file. How can I make my...
[4 replies] Last: Yes, you're right! I hadn't thought about it! I'll test it! Thanks bro... (by Osej Alhasad)
compiler reccomindation
 
hello, trying to learn c++, done a bit of c could someone please recommend me a compiler please, something thats not too complex maby thank you
[11 replies] Last: All the options mentioned are perfectly fine and work about as well wh... (by Duthomhas)
Converting vector of chars into vector of ints
 
Hi guys,im kinda new to c++,need your help a little bit I have a string called "digits" which is used for operations with big integers, i made a vector out of t...
[2 replies] Last: tnx man u saved me :) (by shija93)
how use IStream::CopyTo()?
 
i'm doing a new class ImageIStream for use the IStream more easy. but i'm getting problems :( IStream *pIStream = nullptr; ImageIStream(IStream *Istream) ...
[1 reply] : fiinally the code is done: class ImageIStream { private: char *ch... (by Cambalinho)
by Djpich
Include File classes not transferring over...
 
Ok so I put the Situational Display and TestSD factory method as following: The Problem that I have is that the Classes that I have highlighted in green give...
[2 replies] Last: Hi, Is Basic supposed to be BasicGL ? Do you need a forward declar... (by TheIdeasMan)
Im having problems with my if else/ switch statements.
 
Im having problems with my if else/ switch statements. Im working on a code that is a math tutoring program, and it has to ask a multiplication problem if the ...
[3 replies] Last: Code tags are wrap around tags that put you code into the line-numbere... (by closed account 48T7M4Gy)
Key input
 
I am c++ noob and I want to know if there is anyway to make a program that generates a key press (like F5) every 10 seconds. My goal is to make my browser win...
[3 replies] Last: Try Autohotkey. http://www.autohotkey.com/ (by integralfx)
ENCRYPTION? How?
 
Write a program that encrypts the number supplied by the userr by 2 steps sample output: 36289 Encrypted: 58401 IT SUCKS
[5 replies] Last: Can someone solve it? If you seriously can not be bothered reading a... (by integralfx)
HOMEWORK
 
1. Write a number that sorts the numbers supplied by the user sample output Enter size of Array: 3 Enter number =5 Emter number =4 Enter number =3 Your inputs a...
[14 replies] Last: #include<iostream> using namespace std; int main() { int size; ... (by johnnick)
operator overload
 
I'm trying to read a list from the standard input in the format [x,y,dx,dy]. Not really good with the operator overloading and how to use it. Actually not even...
[1 reply] : typing in (ie std input) "[x,y,dx,dy]" in response to cin seems to me ... (by closed account 48T7M4Gy)
by dzenis
Guess the number game
 
Hi, this is my first post on this forum so sorry if i did something wrong. So i made a code, the computer picks a random number between 10 and 3 and u have to...
[3 replies] Last: http://www.cplusplus.com/forum/general/177011/ http://www.cplusplus.co... (by closed account 48T7M4Gy)
Base of pictures
 
The task is to create the base of images assosiated with text words, and after entering the word or text we should get back the pictures instead of the text to ...
[1 reply] : Please don't double post, it is ultimately a time waster for those who... (by TheIdeasMan)
Cutting polygon into traingles formula (1,2)
 
Problem Statement Mr. Pippo wants to start a new pizza shop. Everything about his pizzas is unique — the recipe is unique, the taste is unique, and even th...
[22 replies] Last: Maybe a Mr Pippos pizza instead of money? (by closed account 48T7M4Gy)
October 2015 Pages: 1... 45678... 27
  Archived months: [sep2015] [nov2015]

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