General C++ Programming (Page 9)

Problem with Multi-dimensional Arrays
I'm writing a program to play tic-tac-toe using multi-dimensional arrays but I'm having trouble plug...
[2 replies] Last: "because the indexes only exist withing that first nested for loop" Y... (by Duoas)
by helo12
Binary search using a random array of integers--Sort problems
So I am trying to use a sort function before inputting an array of random integers into a binary se...
[4 replies] Last: Thank you guys very much for the help (by helo12)
by jirals
How to make a loop in a strlen?
Define a string, then create a program that asks a user to enter something, then displays the number...
[5 replies] Last: (by helios)
NewBie with a question or two
Hello. I have recently downloaded a "Turbo C++ program" from the internet. But I am wanting to si...
[19 replies] Last: I think actually I did it. SC (by spacecadet11)
by xrosax
How to normalize the screen height and width?
Hello just wanted to know the simplest and most efficient way to normalize a value of screen width ...
[3 replies] Last: The way to think about this is two steps. First, scale. You have a l... (by Moschops)
Pointer Study Guide Question
I'm having issues writing this program. Pointer Rewrite The following function uses reference vari...
[7 replies] Last: While I think @MikeyBoy may have been just a little bit too sarcastic,... (by doug4)
by modkip
defining int with variable name
Hi, i am trying to make a program that can set a variable by a non-static name, something like t...
[6 replies] Last: Thanks JLBorges, this is exactly what i was searching for! I have not ... (by modkip)
typedef question
I am trying to understand how to define a typedef in general and how to specifically apply it below:...
[18 replies] Last: [quote=Cubbi]that's an alias to a pointer to a function Good catch. ... (by MrHutch)
by bsaab
Inheritance of abstract Class
Hello, I am currently playing around with inheritance and polymorphism. I programmed a RLC-Circui...
[4 replies] Last: It compiles fine for me too. The thing I'll point out is you only need... (by BHX)
Close And Open A New One
im making a game and i want the program to close the command prompt and open a new one. how do i do ...
[1 reply] : start cmd.exe ? (by SamuelAdams)
by Burden
Need help to fix the function
class Demo { private: int value; public: int getValue() { return valu...
[2 replies] Last: Thanks a lot. It works! (by Burden)
Visual Studio 6.0, C/C++ error C2065: 'SSLv2_client_method' : undeclared identifier
Hello, I'm using Visual C++ 6.0 in Visual Studio 6.0, SP6 on a Windows XP computer. I'm trying to ...
[5 replies] Last: It's common, when writing C and C++ code for various target systems, t... (by Moschops)
How to safely return int pointer
I have a lookup function in my hash table class which returns a pointer to the hash table bucket if ...
[4 replies] Last: No. int *BukPtr = new int; *BukPtr = bucket; or int *BukPtr = ne... (by helios)
Easiest Shortest Path C++ Program *Possibly*
/*This is a complete and correctly functioning Shortest Path algorithm in C++ using Dijkstra's A...
[8 replies] Last: Lol it does. 'A' does not equal 'a'. I placed the example input with c... (by MazharMustapha)
Draw circle using Trig functions
Hello, can someone help me out? I am trying to draw and display a circle on the CMD using Trigonomet...
[1 reply] : void t_25() { double fi,fir; double rad; double x,y; int nl; ... (by skaa)
[1 reply] : I just need help figuring out if I wrote the value returning function... (by jlb)
Desparate for help
I have no idea how to add a new inventory bin to this program. I have been looking everywhere to try...
[3 replies] Last: You posted this: I have no idea how to check an array You also post... (by doug4)
Hi guys can you help me?
Create a c++ program that: receive the price of ten products and store them in array receive the q...
[2 replies] Last: This is not a homework site. However there might be some people who ar... (by Thomas1965)
Issue in getting data from txt file
KNIFE JACK 1.3 6.0 5.1 6.3 5.9 6.5 WILLIAMSON FLIP A 1.4 3.5 4.1 4.7 7.2 3.8 SOMMER TODD 1.2 ...
[2 replies] Last: If you want to check the end-of-file, go with: fin.eof() == true a... (by Little Captain)
object class help?
This was the question, I commented the part I need help. I was given the format of the classes. I wa...
[1 reply] : #include <iostream> class Person { public: Person(); Person(string p... (by bb0yth0r)
Pages: 1... 7891011... 38
  Archived months: [mar2016]

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