General C++ Programming - April 2014 (Page 12)

by Senshi
Pointer value seems to be affected by value preceding it
 
Hey everyone! I normally don't cross-post, but I would really like to see this issue fixed and I feel like my StackOverflow question isn't really getting any...
[4 replies] Last: I'm using the data in a Nintendo DS library where I only have 4MB memo... (by Senshi)
SDL2 understanding help
 
Dear Community, I writing a turn based strategy game and have understanding difficulties how I can express text and graphics using SDL2. For the start I o...
[no replies]
Reset a range based for loop
 
In the traditional for loop, you could make the loop start again by resetting the int value for (int i = 0; i < 10: ++i){ //Do something i =0; } The...
[9 replies] Last: [quote=Snnnider]I'm part of a SAT solver, the clause propagation. I'... (by Aceix)
Debugging in MS Visual Studio
 
I had created an application that is made up of several projects (9 projects so far) using Microsoft Visual Studio C++ 2008. I am familiar with MS visual studio...
[2 replies] Last: Thanks Pindrought for your update. I want to keep on using "edit and... (by ahbazzi)
I need help for my project
 
My teacher gave me a sample code and want me to add new codes, but I can't understand the sample code completely, I confused about the code, can someone explain...
[no replies]
by chhe
Boost gregorian
 
I'm trying to write a program that uses the Boost library to input a string date in the format mm/dd/year and outputs to the string its corresponding day of the...
[3 replies] Last: How do I get this to work regardless how the date was written? For ex... (by coder777)
a problem when deleting a node in a tree
 
Thank you
[1 reply] : You cannot find the predecessor of the current item when you're iterat... (by coder777)
txt file input/output
 
I have been asked to write a program which will calculate the percentage and print the student ID, percentage and letter grades for the class to an output file ...
[1 reply] : http://www.cplusplus.com/reference/string/string/getline/ (by iQChange)
recursive prime factors
 
im suppose to Write a program that will be able to get the prime factors of the number input by the user. Make sure your program implements a recursive algorith...
[1 reply] : bool is_prime(int number, int param = 2) { if(param == number && num... (by iQChange)
by MzDoll
Grading Scale
 
Okay so I am trying to get this code to work but I am stuck. I have to accept the numerical grade and determine the letter grade that the user will receive. I h...
[1 reply] : Ok, think. In main, you use a keyword named return. And the term int... (by iQChange)
by erim
displaying ascii codes in 2D array
 
hi, this is my original code: #include <iostream> #include<fstream> #include <string> using namespace std; string display(string); main() { string wor...
[5 replies] Last: here is what it does;it reads from a text file and converts the chara... (by CodeGoggles)
3D Fill Algorithm
 
There needs to be a "Random Questions that don't deserve a thread" section for me I think. Was playing Antichamber (amazing game, go play it) and couldn't...
[6 replies] Last: That corner idea is interesting, seems like it would save a lot of mem... (by Hippogriff)
How to convert a string to an int without pointers.
 
My teacher has done a very poor job of teaching us anything this year. When he taught us for loops, he wrote one on the board, didn't explain any of it, then s...
[2 replies] Last: i need to write the actual code for the function. i understand that th... (by mlongo555)
Question about copying a file
 
Okay, so i'm trying to figure out how I would code copying a file that cannot be opened (eg. any file that isn't ANSII format). I know that for a .txt or somet...
[2 replies] Last: Thanks James for the clear and awesome response. Next question I have... (by closed account 2UD8vCM9)
Need Help With Guessing Game
 
I neeed to Create a guessing game with numbers between 1 and 100. The loop will never exit until the condition is met. The user will continually guess and displ...
[2 replies] Last: my bad , forgot to post it ^ (by TerrorBlade)
Recieving file input
 
I am trying to store the contents of a text file into a char array. However the function i am using ifstream member function get(); seems to stop working when f...
[3 replies] Last: I'm guessing the file is in UTF-8 or something? get() and other format... (by helios)
Good C++ complier
 
Does anyone know where I can get a good c++ complier. One that will work under a windows 7 platform? Thanks
[13 replies] Last: ->You can get MinGW. That is what I use. I have problems with it somet... (by prestokeys)
How to find remote devices with C++?
 
I thought of an app idea, a really good one (in my opinion), but I don't feel like saying it. So, how does the "Find My iPhone" app work? Is it a networking...
[no replies]
I m trying to perfect my Doubly linked list iterator but i am missing a few things
 
Hi people I m working on a doubly linked list of type vector with its own user defined iterator functions,I think my at method is bad and i also need an insert ...
[no replies]
Http POST c++ [help]
 
Good afternoon, I have issues with this i am new to winsock. so i was learning to use winsock for http POST request Compiles correctly, but doesnt connec...
[4 replies] Last: Ok I ran netstat-a, saw some open ports when I changed the port from 5... (by m0mathur)
April 2014 Pages: 1... 1011121314... 41
  Archived months: [mar2014] [may2014]

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