
please wait
Can i achieve this by April 2019 as a COMPLETE BEGINNER? |
If i begin learning c++ now, Could i make a decent game to help me, atleast be a finalist,in this competition: http://ygd.bafta.org/game-making-award-10-14-yea... |
Aug 30, 2018 at 7:58am
[no replies]
|
by Dan Moos
difficulty initializing dynamic array
|
when I look at the following code in the debugger (looking at the memory window in VS), it appears only a single WORD is being initialized to 0 in the bits elem... |
Aug 30, 2018 at 3:36am
[4 replies] Last: You're not showing enough code. The 5 lines in your post before last l... (by Ganado)
|
by Seyter
A more simplified program.
|
Hello. I just made a program that request the number of graduates as input and then displays the number of tickets to be distributed to each graduates. Can it b... |
Aug 30, 2018 at 2:06am
[1 reply] : First, your code doesn't not compile as-is. I believe you forgot a "us... (by Ganado)
|
by PixelEight
Simple linking Problem (driving me nuts!)
|
I'm using the latest (or close to it) version of gnu c++. I have opengl dev libraries dated 30/7/2017 (not sure what version). The linker is finding the lib... |
Aug 30, 2018 at 12:44am
[7 replies] Last: OpenGL is a C library. If the linker is complaining about missing mang... (by helios)
|
Could a kid like me start |
I am sure you have stumbled upon one or two videos with a title like '12 year old programmer works for IBM' or '13 year old game dev making a fortune'. Alt... |
Aug 29, 2018 at 11:27pm
[2 replies] Last: when I was a kid, talking 10-12, people my age were coding in basic an... (by jonnin)
|
by popstarkitty
Problems with copying numbers from text file.
|
In the assignment2.txt file, it contains data such as this: 12 49 22 12 <eof> I wanted to copy that data to another file to final.txt. In the program,... |
Aug 29, 2018 at 6:48pm
[3 replies] Last: what writes nothing? All you posted was a file reader. (by jonnin)
|
by niirex1
Printing Corresponding Asterix to numbers
|
How do i print the corresponding number of asterix (*) with regards to the numbers printed by the loop. Can't seem to get the logic right. i am only able to pri... |
Aug 29, 2018 at 5:02pm
[11 replies] Last: practice! In time you will being to think this way, and it will be na... (by jonnin)
|
by Jovanovic
Boolean
|
I am trying to make Loop with While and Switch ,it switches from True/False when I press F4, also I wanna to make it soo I can switch from True to False unlimit... |
Aug 29, 2018 at 3:23pm
[9 replies] Last: @Thomas1965,So the system() call took 442 times as long! I think ther... (by tpb)
|
Declaration of a function |
Hey, i'am a student and I recently startetd programming with the open source library openCV and now I got to a piece of code which I just don't understan... |
Aug 29, 2018 at 2:27pm
[4 replies] Last: void foo( int x ) { // use x } void bar() { // something } void... (by keskiverto)
|
by applj
RSP Game results won't show up
|
I know something's missing but I can't figure it out. it's supposed to be R = 0, P = 1, S = 0 and P2 is a computer opponent that inputs a randomized value. Here... |
Aug 29, 2018 at 10:12am
[2 replies] Last: @kbw I totally forgot stdlib.h, my bad. I just replaced 'results' with... (by applj)
|
by dpsht316
Homework Help Please
|
I am working on a program to enter and figure out the winner of an election. The only part that seems to not be working is giving the correct winner. Can anyo... |
Aug 29, 2018 at 9:58am
[1 reply] : The problem is in findWinner(...). Actually the variable winner is t... (by coder777)
|
by AnshMishra
Want to use variable as size of array in turbo C++
|
I have been trying to use variable as size of an array(e.g.float data ) but can't do it. I have searched for others answers and can't seem to understand those. ... |
Aug 29, 2018 at 7:19am
[1 reply] : You need to allocate your array dynamically with new. http://www.cplus... (by Thomas1965)
|
by darnellious
C++, getche(), cin.get()
|
I am wondering why there is no standard function in C++ that would operate like getche() or getch() that is part of conio.h. The get() function in istream re... |
Aug 29, 2018 at 4:59am
[2 replies] Last: Thank You, Its been a mystery to me. (by darnellious)
|
by rlmorton83
Good tutors near Salt Lake City?
|
Anyone know of a good tutor near Salt Lake? I need help getting the basics down for a fast paced intro to software development class. Thank you in advance! |
Aug 29, 2018 at 3:20am
[no replies]
|
by samtheman
Implement The Window class & main game class:
|
I am following step by step in my Book - SFML Game Development By Example By: Raimondas Pupius, I am a little confuse when I got to Chapter #2 page # 21(Impleme... |
Aug 28, 2018 at 8:01pm
[2 replies] Last: Example... #include <SFML/Graphics.hpp> int main() { sf::VideoMo... (by Manga)
|
by hectorrex85
Functions
|
Write your question here. Having problem compiling the following code. below is error msg. invalid conversion from 'const char*' to 'int' [-fpermiss... |
Aug 28, 2018 at 6:22pm
[7 replies] Last: And you'll need to include <stdlib.h> The OP is writing C++ code, th... (by closed account E0p9LyTq)
|
by AL88
Can anyone tell me why this is segfaulting
|
Can anyone tell me why this is segfaulting? #include<iostream> class myClass { public: myClass(int data):theDataMember(data){howManyInstances++;} ~... |
Aug 28, 2018 at 11:32am
[8 replies] Last: It's inside the default section of the switch block, and that doesn't ... (by Repeater)
|
by rendy
Calculating run time
|
Hi, I want to ask about how can I calculate a run time of function. Consider I have this function : int min = N; for (int i = 0; i < N; i++) { Selecti... |
Aug 28, 2018 at 4:20am
[1 reply] : Using ^ to indicate exponentiation: The outer loop goes N times: ... (by tpb)
|
by redstorm98
Hello, loop won't terminate when EOF entered.
|
Hello, My loop won't terminate when EOF or control D is entered. also when any letter enters #include "stdafx.h" #include <stdio.h> #include <iostream> #i... |
Aug 27, 2018 at 11:59pm
[4 replies] Last: Oh I ==1 it means it returns 1 and reading from scanf sets that input ... (by redstorm98)
|
by Tanatozz
Can't work with text files (not code's fault I think)
|
I use CodeBlocks and after many trials I simply downloaded a whole project meant to save data in a text file. It works on my other computer, but on my main it s... |
Aug 27, 2018 at 7:06pm
[15 replies] Last: Seems to be cool after cleaning some stuff from the disk...So I'd cons... (by Tanatozz)
|