General C++ Programming - December 2015 (Page 20)

by Ozzy69
Help me with struct
 
Hello, help with this program, because i dont know where be error. Look my code: #include <iostream> using namespace std; struct Tipo_Lista { ...
[4 replies] Last: with Help from dhayden, I went ahead modified your code and following ... (by Indranilvyas)
dynamic array growth
 
i am a high school student and my teacher suggested i put this problem on here. we are writing a program on dynamic memory growth in arrays. when we get to capa...
[2 replies] Last: You have a few problems here: Line 34: The problem is your declarati... (by AbstractionAnon)
Error Reading string from a file using Getline
 
So i have a file: 3 Electric Hammer# 20 I am using these lines of code to read in the data, i get an error once i step into the getline saying "Error readin...
[7 replies] Last: I don't think the spacing in the file would make much difference. Thi... (by Chervil)
by zolo
nested loops with openmp
 
Hi, I would like to set the diagonals of a matrix using openmp. this a part of the plan: for(int i=0; i<II; i++) { //calculate JJ #pr...
[no replies]
#endif without #if
 
I know it sounds stupid but I really need your help with this annoying error. I caught the error "#endif without #if" while I already had #ifndef before #endif....
[3 replies] Last: yeah i found it :D there's an endif between my if and endif :D thanks ... (by brothereye)
by gg101
cryptosystem
 
I need help asap,my assignment is due tomorrow. #include<iostream> #include<vector> #include<stdlib.h> #include <stdexcept> #include <fstream> #include ...
[7 replies] Last: I need help asap,my assignment is due tomorrow. What, exactly, do yo... (by cire)
Need help with school assignment due soon
 
I need help with this assignment. the assignment details are Create no separate directory for the solution. Use parallel arrays for four inventory values used t...
[1 reply] : Please help me I have no idea on how to finish this school project. ... (by cire)
Moving code from CPP to Header(s)?
 
I need some help. I am working on creating a game with three games in them. I have most/all the code in the CPP file. However, I would like to move some of t...
[5 replies] Last: Hi! Sorry I haven't replied in over a week, but I've managed to spl... (by J Plant)
Let's discuss about those 'easy to make' game engines.
 
(Note, English isn't my native language, Expect Grammer Issues) I'm so disappointed when i go to Steam/Store/Software/Game Development most things you will see...
[3 replies] Last: NT3, i don't think that using game maker for 10 years will teach you h... (by closed account 1vD3vCM9)
Array/Function thread breakpoint... Please help!!
 
So Information is feeding great through my first function... Way to go first function! then I get a thread break point when the program goes to run through func...
[1 reply] : Is this the code you are using? It works for me and I cannot see any p... (by coder777)
Help with Polygon set errors, Much appreciated!!!! :)
 
I'm receiving the following compiler errors: Undefined symbols for architecture x86_64: "Polygon::numPolygons", referenced from: Polygon::Polygon(...
[1 reply] : You need to define the static members of the class. This static int ... (by coder777)
Bool function and user input not working more than once
 
My code prompts users to enter a rectangle and unless they say stop to keep entering, and print an error message if the name is invalid. The problem is when the...
[1 reply] : Please post the minimal code to reproduce the error (especially main()... (by coder777)
Wxwidgets building trouble.
 
I've never touched programming for Mac or Linux... I know that I can compile C/++ code for these but I can't find much information on windowing environments ...
[7 replies] Last: Actually through uninstalling and reinstalling different compilers I m... (by TheBeardedQuack)
by Ozzy69
Help with string in C
 
Hello, i want count chars in others char. For example: Input: 111666349 find 6 output: The number has 3 digits. #include <stdio.h> #incl...
[2 replies] Last: #include <stdio.h> #include <iostream> int main () { int number =... (by closed account 48T7M4Gy)
Merge Sort Not Working
 
Compiles and don't see any logic issues..but the vector will not sort. #include<iostream> #include<vector> #include<cstdlib> #include<iterator> using nam...
[6 replies] Last: Thanks a lot ne555! (by scodges81)
Binary tree terminology
 
Hello everyone. I'm working on an urgent project with binary trees. I'm a little bit confused with the terminology. Can anybody please explain and give exact an...
[3 replies] Last: So, sorry to post back so late. Did you ever figure this one out? I d... (by Duthomhas)
How big can your Adjacency matrix be?
 
Hello, I am trying to create a word ladder game, and I am declaring an adjacency matrix to link all of the words that have only one letter of difference. There ...
[1 reply] : If you are doing: int main() { bool adjMatrix ; // this memor... (by goosestuf)
by duke66
Assignment due soon please help
 
back soon
[5 replies] Last: i found my problem. I was missing #<string>. It's fixed. thanks anywa... (by duke66)
Deleting object
 
I have an array of objects, and one of my functions is to add a new object into this array. My function creates a temp object, which stores all the values, and...
[2 replies] Last: Ah ok thats what I thought, variables that go out of scope get deleted... (by alex067)
Help with a text based game I am trying to make
 
Hello, Im pretty new to programming but i think i knew enough information to make a small text based game right now i am having an issue where i want it to retu...
[5 replies] Last: Haha awesome such an easy fix! I was driving myself crazy with it toda... (by Drexsel)
December 2015 Pages: 1... 1819202122
  Archived months: [nov2015] [jan2016]

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