General C++ Programming - December 2014 (Page 16)

Unknown Runtime Error (ncurses)
 
I am working on a simple TicTacToe project with an ncurses GUI, and I seem to have made an error I don't remember making, a now when I run the program the ncurs...
[no replies]
OS compatibility issues with program.
 
I developed a program for a video game (before you ask upon looking at the code, yes, it is an adult game) that I own that makes it a lot easier for people to u...
[2 replies] Last: The exception code: e0434352 Not a very useful exception in itself bu... (by closed account z05DSL3A)
C/C++ code
 
I have the following code below, i am trying to add xnorr,norr,nandd function to it, how would i do this char nott(char operand); char andd(char op...
[no replies]
Write a program with subroutines
 
Write a console application in Visual Studio 2008 C++. Make a class Sub, representing subroutines in a statically scoped programming language that supports nest...
[2 replies] Last: lol, you would ask this; if you can't tell by my username, I'm in your... (by WillCallahan)
Object Oriented Programming Issues Error C3867
 
I am trying to create a program that calculates the area perimeter distance ect of a pool and you enter the number of corners and the co-ords of each corner. I ...
[1 reply] : morning. You don't call a function like: my_pool.Obtain; you call it... (by mutexe)
templates - passing the same template value to two different template functions
 
I have been trying to get a hang on templates, if you have actually a better suggestion in terms of design I'm more than happy to hear: I have the two follow...
[2 replies] Last: @ne555 they receive the same parameter that I'm passing in the updateN... (by sheva29)
Output Problem
 
For some reason, my program can complies perfectly yet when I execute it, there is no data going to my output files and nothing is being displayed in the "New ...
[1 reply] : format your pasted codes inside code blocks to make it readable with l... (by tanezavm)
bitwise operations on numbers
 
Trying to write 4 bytes ints in a binary file and extract them after... I'm using the exclusive or (^) to isolate single bytes to write to and extract from the ...
[3 replies] Last: The point is that xor encrypts data. You need to do the exact the same... (by coder777)
No matching function for call to method?
 
Hi! I need to call one function on my C++ program. I made one root calculator for functions, but, this doesn't work,and I can't find my code // Please wait, l...
[4 replies] Last: Update 5: I will upload it later, please wait for this upload (by SofaSitter)
getline overloaded error
 
Hi, I am currently having trouble to have getline to read line from the file. Error is: "no instance of overloaded function "getline" matches the argument list...
[5 replies] Last: @MiiNiPaa thanks for calling me on that. One should not use bad form,... (by tipaye)
by john44
shape class polymorphism compiler error
 
Having issues with program to create a shape area calculator with circle square and rectangle. the uml goes as follows: Where the UML has shape as the abstract ...
[5 replies] Last: You did not declare a constructor prototype at shape.h and you are imp... (by tanezavm)
how to solve for nan output?
 
Hi i am working with the altIMU board to display attitude and heading information similar to that of an attitude indicator. I merged the 3 sensor program codes ...
[no replies]
IFileSaveDialog Save over Read-Only File
 
Hey Everyone, I'm new to this forums, and I'm trying to figure out a way to force save over a read-only file when utilizing a IFileSaveDialog. Originally I tho...
[no replies]
problem with segment error in my c++ program
 
I am getting a segment error when i am running this code please help Thanks /* * File: newmain.cpp * Author: user * * Created on 10 December, 20...
[1 reply] : int a = {1, 2, 3, 4}; int b = {4, 5}; int m = sizeof (a... (by wildblue)
Names
 
Im trying to get my program to output the name from a file. The user should enter first name "or" last name. and if the user does not type the name from the inp...
[4 replies] Last: its an array of structure code (by gotclass1)
strange problems using mysql-connector and c++
 
I have been having trouble with this code for a while. It compiles, but I throw an exception which I don't know what to make of. About halfway down in the last...
[2 replies] Last: That was it!! Thanks. (by Dan Feerst)
How to get rid of random 0s
 
Last time, I promise I got this program: #include <iostream> #include <string> #include <fstream> #include <iomanip> #define N 10 using namespace ...
[2 replies] Last: Thanks, the zeros are gone (by ProgrammerSoul)
No matching function for call to?
 
For whatever reason, I get an error meassage about lines 53-57 saying there is no matching function to call to. Yet the header and the prototype are correct (I ...
[5 replies] Last: I'm not sure how the data is formatted in these separate files. I migh... (by wildblue)
Need help with my program C++ - arrays
 
When i enter the five numbers for the second array it does not do anything. I need it to output five random numbers for the first array and five numbers assigne...
[12 replies] Last: thanks i get it now! it repeats in the forloop. i was totally lost for... (by Joeystacks)
by tmason
Cmake - What's the Difference between "Release" and "MinSizeRelease"?
 
Hello, I know this isn't really a C++ question but I figured there are a lot of cmake users around so here goes: When building using cmake you get four st...
[no replies]
December 2014 Pages: 1... 1415161718... 31
  Archived months: [nov2014] [jan2015]

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