
please wait
by theodor1289
Plain simple C++ code returns error
|
Hi guys. This is my biggest struggle ever. C++ has been constantly defying me for the last couple of days. I have written a code that performs a depth-based sea... |
Feb 24, 2017 at 4:04pm
[6 replies] Last: Thanks SamuelAdams, Enoizat, cire! It does work now, I have no idea wh... (by theodor1289)
|
by BigSystem
im a Beginner
|
Write your question here. I'm trying to write s small program to get an input value of variable x and then calculate the expression "((x/3) + (x%)) * 3 = y" wh... |
Feb 24, 2017 at 3:57pm
[3 replies] Last: HI. i got the same problem. Thanks :) (by Sected)
|
by dsteemke
Issue with menus and loops
|
Hi, this is a project for my first C++ class. I've ran into a few issues though. I'm not completely finished yet, but I thought I would fix these issues before... |
Feb 24, 2017 at 3:06pm
[2 replies] Last: Thanks so much for the reply. I will implement this into my code. (by dsteemke)
|
by Saibachick
Help with errors in if else if statements.
|
Hi I'm still a beginner at programming and having to do a Biological Age calculator program with if else if statements. I've done the bulk of my work but need h... |
Feb 24, 2017 at 2:14pm
[5 replies] Last: I hope this code could be of some inspiration: #include <iostream> #i... (by Enoizat)
|
by Iamyou
I need assistance correcting my program
|
Enter name and income.If income<1000 then no tax will be charged but If the income is >1000 but less than 2000 but less than 3000 the tax is 7% of the income.If... |
Feb 24, 2017 at 11:55am
[2 replies] Last: Hello Iamyou, In addition to what Hengr has said I see a problem with... (by Handy Andy)
|
ISO C++ forbids comparison between pointer and integer |
I wrote this program that takes in a month, day and year and outputs a day of the week. I'm getting an error when I check if the year is a leap year AND checkin... |
Feb 24, 2017 at 7:55am
[3 replies] Last: Thanks for the help. getMonthValue() returns a value to be used when ... (by closed account jhb7Djzh)
|
by tinkerdaemon
Why are there no types as natural and real numbers?
|
It is for a long time now known how to implement arbitrary precision numbers. Why is there not some way that I can choose types for my variables as natural n... |
Feb 24, 2017 at 7:39am
[1 reply] : It's impossible to implement the true set of real numbers in a compute... (by helios)
|
by CGunn86
[SDL] Game Dev. Question.
|
I'm quite familiar with the C++ syntax and the SDL2 library, but not so much with structure. I'm going to be making a simple platformer game and want to structu... |
Feb 24, 2017 at 7:32am
[1 reply] : Well, there's nothing inherently wrong in anything you've said. A desi... (by helios)
|
by teopeishen
problem shows in visual studio
|
i write a simple C++ code and debug in visual studio. I got this error. Exception thrown at 0x53380B5C (ucrtbased.dll) in ConsoleApplication1.exe: 0xC0000005: A... |
Feb 24, 2017 at 6:21am
[15 replies] Last: what is the pointer ?char * means string?if double **, it will crash d... (by teopeishen)
|
by Sirivsly
Storing a list of words from a .txt file into a string array
|
I know my code is VERY sloppy, but my objective is to read in a .txt file of shuffled words, store it into a string array and alphabetically sort the string arr... |
Feb 24, 2017 at 5:22am
[10 replies] Last: Alright thanks! Also I've seem to find the source of my problems... Co... (by Sirivsly)
|
by newyork23
Help fixing program
|
How would I fix this program to make it run correctly? I know I would need to add || where the if statement is located but I'm confused because I get an error s... |
Feb 24, 2017 at 4:51am
[3 replies] Last: #include <iostream> #include <iomanip> #include <cmath> // <math.h> ... (by JLBorges)
|
by cynachen
Hex2Bin : Unable to convert multiple lines of hex
|
Hi All, I have written a program to read hex from a txt file and to convert to binary and proceed to generate the result to a new txt file. However, the progr... |
Feb 24, 2017 at 4:09am
[1 reply] : Every time you read a new line, you overwrite the last one. Either do ... (by TwilightSpectre)
|
Rectangle program |
Cannot figure out my mistake. Can someone please point it out? My friend also helped but can't figure out as well. Thanks! #include <iostream> using namespace... |
Feb 24, 2017 at 12:19am
[4 replies] Last: @whitenite1 thank you! (by dullerthandull)
|
by ExSanity
Sockets in C++
|
I am looking for a good tutorial or example etc of sockets in C++ and sending data all i've found is for C or Java etc i want to do an idea kind of like a Serve... |
Feb 24, 2017 at 12:16am
[no replies]
|
by Misenna
Trouble with static 2D-Array in function
|
Problem description: I'm currently working on a program that contains a 2D-Array in a function. Since I wish to update it inside another function I declared it ... |
Feb 23, 2017 at 9:13pm
[8 replies] Last: Don't underestimate how much you helped me, not only with code! As fa... (by Misenna)
|
by AndreasTm13
Need help and explications with my code
|
So I almost finished the code,but I've got problem with displaying the results.It just does not display anything even tough I introduce good values. The problem... |
Feb 23, 2017 at 7:41pm
[2 replies] Last: I do not see much sense in doing that considering that there is only o... (by ufrnkiddo)
|
by Crim
_frstnullptr error with GLEW
|
So I have been working on a game through C++ with GLFW and GLEW and everything was going fine until I implemented GLEW then I get an error that I have never enc... |
Feb 23, 2017 at 7:20pm
[1 reply] : So I just discovered if i take out std::cout << glGetString(GL_VERS... (by Crim)
|
by rshrecky
How to limit output responses?
|
Hi all! I am hoping I can ask this in a general way and avoid a lot of details. I am tasked with writing a code that will output given responses based on cert... |
Feb 23, 2017 at 4:23pm
[2 replies] Last: It looks plenty elegant to me, much appreciated. I knew there was a w... (by rshrecky)
|
by Mediumgrit
advise
|
Just trying to see understand what was done incorrectly #include<iostream> using namespace std; class account { public: account(... |
Feb 23, 2017 at 4:06pm
[2 replies] Last: HEY @THOMAS1965, THANK YOU HELPING. i got a few points taken off and ... (by Mediumgrit)
|
by pmi
run slow
|
hey guys; I am very new in c++ , I try to run this code with code block, but it is too slow and take long time, I really appreciate any sort of help or tips to ... |
Feb 23, 2017 at 3:47pm
[1 reply] : Firstly, for future reference please use to format your code so th... (by Crim)
|