General C++ Programming (Page 5)

passing array in a function
 
i have defined an object which is an array of my class called Player now i want to pass this whole a...
[9 replies] Last: [quote=markj]Never pass an array. This is frowned up in C++ as it's ve... (by Duoas)
Help with saving a text file?
 
So, I am making a program with just a big text edit box in the middle. A word processor, really. I h...
[4 replies] Last: Ok. Well, just thought I would ask since this was already a post about... (by AceDawg45)
Calculating the time difference
 
I want to find out the time difference,say i start walking from my home at 23 hr 10 min 25 seconds a...
[3 replies] Last: suppose you have for example 3559 secs. cout<<time/3600<<" hours\n"; c... (by geosnipes)
strange behavior with pointer arithmetic
 
The first example I show below makes sense. We are defining an array of char pointers. Thus, the cha...
[8 replies] Last: i learned that pointers and arrays are basically treated the same by a... (by geosnipes)
Federal Tax Calculator Program
 
I am doing an assignment that is to calculate the federal tax based on the users input. I am not ent...
[15 replies] Last: Understood. Maybe you could take a quick look at my other program I am... (by dub1987)
Copying a list to a vector
 
is there any way to copy an entire list to a vector? would make my life much easier
[3 replies] Last: Spot on guys thanks :) (by bjcool4)
Permutation Help?
 
So i know how to do permutation when you have numbers listed as 1,2,3,4 but how do u write a program...
[14 replies] Last: Honestly I am not sure what you are doing(or trying) in your code. It ... (by giblit)
Viewing slider value WINDOWS?
 
I have my dialog set upand I am trying to view a slider controls value. This is not to do with .NET ...
[1 reply] : SOLVED! In case anyone else is wondering how to do this its simple en... (by danielmccarthy)
irc bot not working part two
 
so im still having issues with this bot that i cant figure out. if you guys wouldnt mind helping me ...
[1 reply] : never mind. naraku9333 fixed it. fix: http://pastebin.com/tgYwfvw9 (by Little Bobby Tables)
Functions with variable number of arguments
 
I've been assigned 4 problems for my C++ class, and this is one of those problems. I'm not really s...
[1 reply] : However, you should be able to work your way through it. Start with th... (by Duoas)
Accessing elements
 
Hey, I have successfully created an array called 'diskArray' of deques that stores objects called 'P...
[3 replies] Last: Why not use std::vector instead of a C-style array? I also am not su... (by LB)
header files error
 
i am making a program in which there are a no of classes which i have declared in some header files ...
[2 replies] Last: no...i didn't miss the semicolon...actually i didn't write 'using name... (by praneshiitm)
need help: bubblesort in ascending order
 
Hello I am trying to build a c++ that reads user input and arrange letters in ascending order. for...
[3 replies] Last: You are sorting based on the compile time constant CLASS_SIZE. What i... (by AbstractionAnon)
when I run the program does not show the output can anybody fix my error.
 
#include <iostream> #include <string> using namespace std; /* ******************** getSize ******...
[1 reply] : We're not going to do your homework for you. Make an attempt and we ... (by AbstractionAnon)
OOP Linker Errors?
 
Hello! I've just started coding a "Mathematics" library for my own, just to practice some OOP conce...
[2 replies] Last: Oh.. That makes sense.. Sorry for wasting your time, and thank you ver... (by jumper007)
Visual studio c++?
 
I have run into all sorts of issues with using c++ in visual studio the biggest one of all is that w...
[2 replies] Last: 3 IntelliSense: an ordinary pointer to a C++/CLI ref class or interfa... (by booradley60)
by Chubby
balanced parantheses
 
I dont no how to fix. Can someone help me out plz. (Please see the picture) http://i61.tinypic.com...
[1 reply] : #include <stack> But that wont solve all your problems You have decla... (by codewalker)
Strings in C++
 
Hello, I am trying to write a program that takes in a password and test it to make sure that it is ...
[4 replies] Last: simple regex i dont believe you ;) /joke in my opinion regexs are f... (by Little Bobby Tables)
by teslaa
THE WORLDS MOST COMPLICATED C++ ISSUE
 
I have created a class which uses threads and sockets but I am having trouble as the bind function w...
[3 replies] Last: Thanks so much guys, adding the :: before the bind sorted it!! (by teslaa)
Database programming in C++
 
can i develop commercial database applications in C or C++, like foxpro, oracle etc.
[4 replies] Last: By mathematics knowledge if you mean integration and derivatives and s... (by codewalker)
Pages: 1... 34567... 68
  Archived months: [feb2014]

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