General C++ Programming - November 2013

by rlnsig
cumulative quotient
What i want to do it have the user put in a number, and then prints the answer of the number divided...
[4 replies] Last: ill try that. Im very new with programming and i just started a month ... (by rlnsig)
Return array function HELP!
Ok so I have homework that I am working on, but I cannot figure out what is wrong. I made a function...
[6 replies] Last: You are going to cuss that it was this simple, but the problem was the... (by josh26757)
Does this program have a pattern sequence?
In the below program, i and l diverge when the input string contains a tab. i is a counter to iterat...
[1 reply] : ¿why the double spacing? I don't realize what is your question The p... (by ne555)
by leo255
Having some issues with my Error Output File
This program is basically supposed to read data from a file, and then process that data depending on...
[2 replies] Last: Just to update, I figured out what I was doing wrong. The following we... (by leo255)
writing text to the opengl window
Hi; I'm trying to write some static text to the opengl window without using any external librarie...
[no replies]
Insert character in a string
Hi, I would like to insert some character after each number of my string I found how to insert ...
[7 replies] Last: That isn't copying, that's searching. (by Duthomhas)
by lams
binary tree
Hello everybody, i need help on a binary tree am working on. The program should read a list of keys ...
[3 replies] Last: thank you (by lams)
Help: C++ Multiple Choice Questions and answers
Here is the file: Here is the file wit...
[no replies]
by y0xuz
URGENT Scheduling Mutilthreads
Hi all, i am ecnountering a very complicated (atleast for me) problem with threads. my main f...
[1 reply] : The scheduling of threads is inherently non-deterministic. Why do you ... (by helios)
by Plavsa
Reading from a file goes wrong.
Hello. I started making something for my class and the thing im getting stuck with is this function:...
[2 replies] Last: What could be the reason for a file not being opened? if its (by Plavsa)
Problem with arrays
Hello, I have a problem, I cant change my arrays dynamically. I'm using Codeblocks for IDE and ming...
[3 replies] Last: Wow, that seems to be all anyone wants to know right now... Give me a... (by Duthomhas)
need advice for more features on my map editor
Hello Guys, I am currently working on a tile based map editor. I made a video containing the featur...
[no replies]
Need some help
I am working on a program that asks the user for a first name but the characters have to be all alph...
[6 replies] Last: This is my code #include <iostream> #include <cstring> using name... (by jarmstrong21)
by harook
C++ Pointer to a function error
Hello, I've been having a problem I can't seem to solve on ym own whole day. I'm really new to C++ s...
[4 replies] Last: Well, i just tried adding class Calendar; before i define it in ... (by harook)
sizeof vs #define
In the below example, it seems that sizeof line and #define MAX_LINE will always pass the same value...
[2 replies] Last: [quote=Disch]For C++, prefer cout/iostream over printf. Prefer const v... (by Catfish666)
How to put input in quotes
I am working on a String compare program and i got the program to work properly i was just wondering...
[2 replies] Last: ok thanks (by jarmstrong21)
Confused about class access labels!
If we define classes like this: class base { private: int a; protected: int b; public: ...
[1 reply] : a can be accessed by base only . b can be accessed by base and ... (by Disch)
please find error in my code if any an give me output
#include<iostream> #include<stdio.h> using namespace std; int main(){ char str ; int i =0; int ...
[no replies]
I'm confused -.- Please help
Make a program that will ask the users to input 4 different numbers. After the user’s input the p...
[5 replies] Last: **All inputs are integers except average which is float with two deci... (by Catfish666)
What's wrong with my code ?? Please help ! I'm stucked with this thing !
#include <stdio.h> #include <conio.h> main() { int circle; int a; printf("To compute...
[no replies]
November 2013 Pages: 123... 46
  Archived months: [oct2013] [dec2013]

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