General C++ Programming - November 2012 (Page 25)

"Smart" Calculating
 
I'm trying to do some work with some simple trigonometric functions. (Law of Sines and Cosines knowl...
[3 replies] Last: Ah, I've just always used floats, I used doubles when I first started ... (by Spirrwell)
reading a matrix
 
hello every one. I have a small problem. I keep get an error when i'm trying to read a matrix. I'm u...
[1 reply] : My solution is the following: #include <stdlib.h> #include <stdio.h... (by infoartenovo)
helping neede
 
please help me finding and fixing my errors on http://ideone.com/l1ntrO
[1 reply] : Ooh nice, they enabled hyperlinks for people with less than 50 posts ... (by LB)
existing string to name a struct
 
Hey All, I have an existing string. string stateString; I have a struct. struct node { ...
[12 replies] Last: Thanks again for your help with this. Your information and patience i... (by bwquestion)
Dynamic recompiling
 
Hey everybody, Well i created my first emulator. Currently, it only interprets. Ive learned first h...
[3 replies] Last: A pure interpreted language would be the most appropriate to implement... (by JLBorges)
String test for capitalization failing to work
 
These all fail to work. I have no idea why. Any help is appreciated. p1 is user entered char ...
[5 replies] Last: The problem was that code was only ever storing the most recent compa... (by MikeyBoy)
??????????????????
 
how can i make a program that reads from an input file as following : the input file contains TWO...
[3 replies] Last: vector (by Moschops)
by nnxen
Floats as indices
 
I'm having a problem with the following calculation in a line of code: 10^(dB/20) ...where dB ...
[7 replies] Last: You aren't allowed to overload operators to where both operands are pr... (by hiw)
Client Vs Server -Multiclient Networking
 
I created Server-Client Programs for LAN and they are working,but the problem is that the server acc...
[12 replies] Last: I looked at lacewing some time ago, but haven't used it in anything se... (by kbw)
Array Help (again)
 
With this program, I am trying to make a program that has the user input 10 grades to be averaged. T...
[12 replies] Last: I ended up having the program send the main -1 and it worked out great... (by mckizzlealmond)
by mono
template class??
 
The instructions of the homework said that This is a template class. The template parameter, calle...
[2 replies] Last: thanks (by mono)
Recursive function for sorting array
 
Hi all, i have this mini program that generates randomly 15 to 25 sized array. This array then rand...
[no replies]
by na7937
Series Function
 
Write a function that returns the sum of the series 1! + 2! + 3! + 4! + ... + n! where n is an integ...
[11 replies] Last: @naraku9333 I'm sorry. For the sake of learning, it's good practice to... (by Thumper)
My program hangs
 
#include <cstdio> #include <kdtree++/kdtree.hpp> #include <vector> #include <map> #include <set> #in...
[1 reply] : _ [co de] "Please use code tags" [/co de] _ Learn to debug. If you ... (by ne555)
by HJH
Enumerated type
 
I need to rewrite the following program so it uses an enumerated type to represent the planet. ...
[2 replies] Last: I am not sure if I understand how and where to put this code in progra... (by HJH)
Student database problem
 
Hey all! I'm trying to write a program that simulates a student database. From the user, it takes...
[no replies]
SendDigItemMessage function.
 
Hello I was having problems with the SendDigItemMessage function. This is what I have and it doesn'...
[1 reply] : This should have been posted in the Windows Forum Secondly - here is h... (by guestgulkan)
Changing chars at specific coordinates w/o reprinting everything
 
How to, instead of reprinting a whole chess board for exemple, changes only the char at given coordi...
[no replies]
Pure virtual function of template class (undefined reference)
 
ishape.h template < typename T > class IShape { public: IShape() {} virtual vo...
[1 reply] : Is it defined in the header file ? Since it's a template class the imp... (by closed account o1vk4iN6)
something with struct and class i dont understand
 
you know you create a struct like this right... struct weasels { int num; weasels *link; }*p; /...
[8 replies] Last: yes very much so, im almost able to completley grasp pointers and link... (by devonrevenge)
November 2012 Pages: 1... 2324252627... 51
  Archived months: [oct2012] [dec2012]

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