General C++ Programming - March 2015 (Page 16)

arrays with ints and chars
 
i've been asked to make make a game and it includes printing game board as nxn array and upon user ...
[no replies]
by yj1214
Python vs C++ speed
 
I'm not asking which language is faster. Recently, I made two 'printing' programs with Python and C...
[12 replies] Last: The GCC and Clang have a large selection of options for both optimiza... (by Disch)
by jeyes
@@
 
ppp
[2 replies] Last: we dont do homework for you. show us what you have and what you dont u... (by Little Bobby Tables)
closing program
 
i want to close my program saying THANK YOU when it comes press any key to continue ..... and pro...
[4 replies] Last: Sorry but this is not a homework site. Show us what you've done and we... (by TarikNeaj)
help me for this array pointer
 
plis somebody help me, i have this code, but i dont know what the next code to find a word from the ...
[1 reply] : If we take array B for example. You have 5 letters in it, making the a... (by TarikNeaj)
by Gsnore
Help Please
 
I am trying to write a snippet of code that solves this problem: Suppose that overspeed and f...
[3 replies] Last: In the given solution, the first line fails if overspeed is equal to 0... (by c2go)
Different Compiler Error
 
Hello everyone I'm new to C++, and need help a with a program. #include<iostream> // std::cou...
[14 replies] Last: I ended up kind of rewriting the program. (by plusstudent)
A calender App in C++
 
I am designing a calender App in c++ that functions upon the year input. I got a sample code onlin...
[4 replies] Last: Thanks so much. I am to give it a try. I would give you a reply soon (by Linux hini)
by xystus
Array of random numbers
 
I'm trying to make an array that uses a basic for look to fill up the array with a random number. ...
[2 replies] Last: //initialize random seed: srand (time(NULL)); int RandNum ; for (int... (by zippo88)
delete[]?
 
I have a function which allocates a significant amount of dynamic memory which is no longer re...
[10 replies] Last: Hi JBL, Been away, so slow reply. We have been doing a lot of work o... (by Jeff Whittle)
do while
 
Warning 2 warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s in...
[4 replies] Last: When posting code, please enclose it in code tags. Highlight the code ... (by dhayden)
How to sort pointers?
 
so I have something like: struct Something { int number; Something* next; }; And I w...
[6 replies] Last: Take a node from existing list. Find insertion location in a tempora... (by Lauke)
by WAKS
How to change a tile in a tile map like in level editor (SDL)
 
I'm making a 2D rpg game with a level editor so I dont need to hard code every level. I have created...
[7 replies] Last: Have fun making your game ;) (by Gamer2015)
by Lauke
Byte/Bit order in floating point representation
 
Hi guys, A trivial question (maybe...). I'm designing a library for math computation, and i was g...
[3 replies] Last: On almost every implementation, std::numeric_limits<>::is_iec559 wou... (by JLBorges)
2D table with templated types
 
I'm working on a logging utility for a real-time application. The user of this class should be able...
[3 replies] Last: If you have a solution to your problem please mark this question as an... (by Gamer2015)
by Fink
"HELP"what is the CODE in this output?
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z encipher decipher Exit Enter choic...
[1 reply] : Hello and welcome to the internet. Please read this: http://www.cplus... (by ahcfan)
This program is about computing what the buyer supposed to pay. (Funeral System)
 
Hi guys, i'm doing this funeral system and the first choice of the 2nd question is ok (a) but the 2n...
[2 replies] Last: An if clause requires for more than one statement { } in order to dete... (by coder777)
Dynamically allocating structure array
 
structure *test = new structure ; or structure *test = {new structure, new structure}; Curious,...
[2 replies] Last: In addition to what MiiNiPaa says: The second is slower since it does... (by dhayden)
sentinel while
 
Hai ! I really need a help about sentinel while. tbh I still cant get idea how sentinel working. her...
[2 replies] Last: you mean initialize int num ? or others int ? (by summerfly)
March 2015 Pages: 1... 1415161718... 28
  Archived months: [feb2015] [apr2015]

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