General C++ Programming (Page 9)

summation of an arithmatic equation
my problem is ,,,user will input something like 1+2-3+4-5,,,,, and user will not tell the nth term,...
[7 replies] Last: #include <iostream> #include <string> #include <cctype> #include <sst... (by JLBorges)
Can anyone give solution of this question?
Write a c++ program that converts feet to inches. Take the feet as input and print the equivalent nu...
[1 reply] : I'll give you the hard bit implemented. You do the rest. int inches ... (by Moschops)
type question
I have a function: foo(Window * window, int * x, int *y) x and y are pointer types The func...
[1 reply] : Yes they are. you make them pointers by using the & (by codewalker)
by dami81
Problem with Files Listing on windows
Hi all of you guys , i want to make a listing programe that lists specific folder files into a tex...
[2 replies] Last: @JLBorges : thank you , but i am working with DevC++ , i cant find the... (by dami81)
by Mark11
Problem With Encryption and Decryption Code
Well I had written a program which encrypts a file database.txt in same folder as program and can al...
[4 replies] Last: Well when I try to encrypt a file every 4th character starting from th... (by Mark11)
Loading and managind data in memory efficiently
I'm trying to write a map editor for a game, and I'm unsure as how to deal with all the data. Here's...
[no replies]
Unzipping a pkzip with C++
I have a PKZIP file. It's not a standalone file, it's part of a bigger format, I cannot reference it...
[6 replies] Last: This worked like a charm: (by karlovsky120)
Good company practices?
So, I got my first programming job in a big company. My position requires writing C++, so I was wond...
[7 replies] Last: I think the biggest difference between coding in school and coding in... (by Golden Lizard)
HELP w/ basic C++
Hello, I am stressing out for this assignment that is due very soon and I absolutely cannot get ...
[1 reply] : This is not a homework site. We won't do your homework for you. Howeve... (by chicofeo)
by Enex
output align problems
I'm having trouble aligning a price column when showing the menu and when the customer's check is be...
[4 replies] Last: Got it working with jlb's suggestion although I can see how yours woul... (by Enex)
1089 magic trick
I am trying to write a program for the 1089 trick. What it do is users can input any three digits n...
[4 replies] Last: Thank you all! I have read through all your replies and I will try yo... (by kevinchan246)
Need an explanation of code
#include <cstdio> class Thing { private: int x; int y; virtual int foo() { retur...
[3 replies] Last: Thanks man this helped so much! I honestly just got lucky when putting... (by captainmorgan)
multindex comparison on two int keys
I have a boost multiindex container which has an object which is contains this struct, with a compos...
[1 reply] : looking it seems like <boost/icl/interval_map.hpp> might be what i nee... (by conradjones)
by sed2
Problem to check if file exists
I would like to see if a file exists. I did: std::string path="C:\\Users\\"+ n +"\\Desktop\\fi...
[3 replies] Last: On UNIX-like systems you can use the stat() function. If stat() fails,... (by dhayden)
by Kalcor
Difference between these 2 codes[and a few questions]
First of all here is the link to the problem: ( Now I'...
[3 replies] Last: Well infact I just wanna know why the >= conditions works over the > ... (by cire)
How to have exception handler in separate .H & .cpp
Hi, I'm having an issue when trying to transfer my exception handler from my main cpp file into a s...
[1 reply] : > I'm hoping I can get away with providing this small level of detail.... (by ne555)
by Vendra
Write to file a large number of integers
Hello, I need to write in a file a big number of integers, an inverted index that maps the line numb...
[7 replies] Last: That is a good point... (by jonnin)
by Kalcor
Understanding this problem statement
Hello there is a problem that I can't exactly understand and due to that my code just answers some o...
[6 replies] Last: jlb , there is a pedestrian in the crosswalk if values & 1, not if va... (by dhayden)
template argument
hi gyz. can someone help me, this code get error 2768(illegal use of explicit template arguments) an...
[4 replies] Last: I'm bemused, but this actually worked on both compilers that I tried .... (by lastchance)
Pages: 1... 7891011... 24
  Archived months: [apr2017]

Cannot post in this page. To post a new message, go to the first page.