General C++ Programming - November 2013 (Page 30)

Huffman Coding Tree
 
Hello, I am having difficulty implementing a huffman tree using c++ My actual assignment is to take in a filename as an argument then it's supposed to find th...
[4 replies] Last: Did I say I expected someone to do my entire program for me? No I just... (by Joshua Schweigert)
Help with code
 
Hey guys I'm having some trouble with this code, I am suppose to find voltage by multiplying a resistance array and a current array by using a function and poin...
[1 reply] : change determineVoltage() prototype to accept three double pointers an... (by xismn)
by Goki
Please help - GPS Positions in Windows Mobile 6.5
 
Hi friends, I am new here and I have a question. Can someone describe me or explain me how I can find the place or position on a map, which is described here...
[no replies]
Graph and MST
 
Hi guys.I need your help.I have a homework about graph and minumum spaning tree homework is suppose for a given graph G1,we have computedv a minumum spanning t...
[no replies]
dice game
 
#include <iostream> #include <cstdlib> #include <time.h> #include <conio.h> using namespace std; class Dice { private: int face_value; public: Di...
[4 replies] Last: Mats, this is the exactly what I have meant. What I said was in the co... (by cjj)
expected an expression error
 
Hi i'm pretty new to programming and i have to edit a program for my thesis i have this error, i have no idea how to solve it. I read somewhere that there...
[1 reply] : Error : identifier "LOCATION_XY_RSSI_RESPONSE" is undefined This e... (by Disch)
Vector Erase problem
 
So I have a class assignment that requires me to take an ASCII "Encrypted" text and breakdown how many times each character occurs. I do this by asking for the ...
[1 reply] : Consider a vector in which the contents are "xxx" and the code: ... (by cire)
Finding an angle from 3 points
 
I am making a game and I am trying to rotate an image so that it is always pointing at the player. I have two lines, the first point of both of them is on the i...
[7 replies] Last: Dioas' answer worked. Thanks for the help. (by karma1111)
Computer Security
 
How To Check, If Your Computer has been Hacked !! http://youtu.be/_Hrzr8r7UzI
[3 replies] Last: @ OP: I agree, this belongs in the Lounge. Over all though it's not ba... (by Computergeek01)
by IOSDEZ
Need help with pointers and object composition
 
I have three classes to make, Person, the base class, and the derived classes Professor and Student. The student class is to have a Professor member variable ca...
[no replies]
Need Some Help Finding the Problem!!!!!!!
 
So this is the question I was given and I have also put my program in ... I am a beginner and don't see where the mistake is in my program can some help me dete...
[2 replies] Last: @JockX thank you so much ... you gave me a lot of great tips here ... ... (by scardoso)
Stop Crazy Switch Looping
 
Hello. I would like to use my switch loop so that when the default is activated, control goes back to the start of that function. For example: int function1...
[4 replies] Last: int a; do { a = your_switch_function(); } while((a > 2) && (a < 0... (by IWishIKnew)
by Amman
Char array
 
My problem is to develop a program that looks for a text in a paragraph and replace it with other text. In terms of implementation, you will need three characte...
[3 replies] Last: Sorry if I'm not already busy with my own projects. You really should... (by IWishIKnew)
How to get half of the last binary number
 
For example if we have 101010 First half is 101 which you get by multiplying 101010 * 10 ^-3 now how do you get the second half (010) ?? Thank you
[2 replies] Last: convert it to a string is what I do. I templated the conversion funct... (by IWishIKnew)
Set a Limit on What Can and Can't Be Deleted
 
Hello. Is there any way to set a "lock" on certain couts from system ("cls"). You can this with const to "lock" a variable to a certain value so I am wondering ...
[2 replies] Last: You can, of course, just re-display them..... Also, "const" doesn't "... (by IWishIKnew)
Constructors and destructors
 
Hi guys.I have a question.I have a homework about reading codes. // kadir.cpp : main project file. #include <iostream> #include <conio.h> using namespace ...
[5 replies] Last: You're welcome - glad it worked out! (by MikeyBoy)
Binary files
 
Can you help me with creating a binary file? heres my code: #include <iostream> #include <fstream> #include <cstring> using namespace std; const int cant=2...
[5 replies] Last: Syntax errors aside... you CANNOT read/write a Registro object direc... (by Disch)
Program done correctly?
 
Hello, I'm asked to re-write this program using the for loop. Here is the original code: #include <iostream> int main() { int sum = 0, val = 1; ...
[3 replies] Last: He means in your program. Put line 9 AFTER the for loop. (by Mats)
Finite difference method for partial differential equations
 
Hello, I'm from Russia, need your help in finding bugs. Calculated by the explicit scheme. Produces some very large numbers. task: U_t = 3 (1,1-0,5 x) U_ ...
[2 replies] Last: спасибо! (by illuminates)
Urgent!!! Error with cout!
 
Need help. Getting error: no operator "<<" matches these operands at line 36. #include "stdafx.h" #include <string> #include <iostream> #include <ostream...
[8 replies] Last: No worries - just wanted to let you know the best way to go about thin... (by MikeyBoy)
November 2013 Pages: 1... 2829303132... 46
  Archived months: [oct2013] [dec2013]

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