General C++ Programming - June 2017 (Page 9)

Exoskeleton project, need someone with C/C++ XP
 
Hey Guys, My name is Alex, I come from Romania (Timisoara to be specific) and i am working with a couple of colleagues of mine on an exoskeleton for the reh...
[no replies]
Simple game help
 
I am trying to make a simple console application game in which you own a village. It's basically a Tribal Wars rip off , in case you have played it. Basically ,...
[3 replies] Last: Oh my. It took me years to get this format right, and I'm handing it o... (by DTM256)
Outputting Issue Help Please
 
Hi Everyone, I am a new programmer and following a YouTube channel for C++ intro (The New Boston). I am having the following issue with my program: My pro...
[2 replies] Last: @jib --- Thank you so much! (by meprogrammer)
by TheArk
how to add money values
 
I try to add the value of dollars, quarters, dimes, nickels, pennys for the total monetary value but do not know how. Any help? #include <iostream> #include <...
[6 replies] Last: That did it, the semi colon after penny, I just overlooked it. Thanks! (by TheArk)
Implementing member functions
 
I've been trying to implement the member functions given structure. How would I go about implementing the member function? Would I call it in the main? Thanks ...
[1 reply] : You can either define the implementation inline by replacing the semic... (by LB)
by Kalcor
1d to 2d arrays
 
What's an efficient way of turning a 1D array to a 2D array but keeping the for a 1D size. example: int a = {0,1,2,3,4,5,6,7,8};//how can this be treated ...
[3 replies] Last: #include <iostream> template < typename T > struct view_as_2d { ... (by JLBorges)
Any way to keep code folded in VS?
 
Hello, I'm working on a project that has multiple headers with plenty of code in each file. I've been folding up the code using #pragma region/endregion and the...
[7 replies] Last: Some functions require quite substantial amount of code for them to w... (by jlb)
by user42
Binary tree
 
hi, I am supposed to write a program that has a function of type const (min_depth_leaf)and that function gets a const that points to the root of a binary tree, ...
[9 replies] Last: ok. thanks! (by user42)
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,,,but i have to calculate the result.how can i calculate thi...
[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 number of inches. Repeat this process until the user enters 0 ...
[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 function works when I: int a,b = 0; call foo(window, &a, &...
[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 text file . but i have some problems with unicode file names !!...
[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 also decrypt it, But when trying to decrypt the encrypted file...
[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 what I have and what I need: This is a voxel game, so the ...
[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 via the file system, I have to interact with it in a form o...
[6 replies] Last: This worked like a charm: https://www.codeproject.com/Articles/7530/Z... (by karlovsky120)
Good company practices?
 
So, I got my first programming job in a big company. My position requires writing C++, so I was wondering what should I expect? What should I use/not use, what ...
[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 the help I need in a timely manner that I require. I am supp...
[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 being calculated. I know I'm just missing something little but...
[4 replies] Last: Got it working with jlb's suggestion although I can see how yours woul... (by Enex)
Write and read binary files with date
 
...
[6 replies] Last: What is the purpose of the following line? if (pchName != NULL &&... (by jlb)
1089 magic trick
 
I am trying to write a program for the 1089 trick. What it do is users can input any three digits number which cannot contain repeated number eg(333,122,555,45...
[4 replies] Last: Thank you all! I have read through all your replies and I will try yo... (by kevinchan246)
June 2017 Pages: 1... 7891011
  Archived months: [may2017] [jul2017]

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