49,761 Topics

Member Avatar for
Member Avatar for mommie

Trying to come up with a code that will give you your circumference value by taking the measurements of your waist and hips and subtracting the measurement of your neck but I'm getting several very weird errors. Most of them in regards to !=. Can someone please take a look …

Member Avatar for WaltP
0
93
Member Avatar for crodriguez08

Hey, I'm having trouble of making my program work. So far I managed it to read the file and display the numbers (just to verify that it is being read right), but I'm not sure if the storing is functioning well, as when I pick another option, well, it doesn't …

Member Avatar for crodriguez08
0
347
Member Avatar for tonymuilenburg

Hi, I'm trying to loop through multiple textboxes in a C++ form using visual studio.net 2008 to set the selection start for each. The code for a single textbox is easy: [CODE] textBox1->SelectionStart = 4; [/CODE] When I try to assign textBox1 to a Control variable, and assign selection start, …

Member Avatar for tonymuilenburg
0
175
Member Avatar for jprogram

I have writen some code for a HugeInteger class, but my input funtions will not work. It is suppose to check the array for negative numbers or 2 digit numbers. Since I randomize the numbers between 0 and 9 and checked them by not using the input funtion I know …

Member Avatar for Ancient Dragon
0
91
Member Avatar for fugnut

My first attempt at 2-dimensional arrays is not working out so well. We are to simply initialize an array and print out the results. My problem is that the data contains text and numbers.....column header is car color, row header is car make. I am getting error for lines 19 …

Member Avatar for u8sand
0
178
Member Avatar for sadsack

Hello, I am new to this forum and would like to say hi to every one. My name is renny. Now I hope someone can tell me what I am doing wrong. I dave devC++ and when i compile my code then run it, a window comes up and goes …

Member Avatar for Ancient Dragon
0
211
Member Avatar for hurricane123

1What are the advantages of using a constant for the array size? 2In addition to the array itself, why should you pass the array size to a function? 3.How are pointers and array names related?

Member Avatar for Ancient Dragon
0
70
Member Avatar for DawnDenise

I would like the output of this string to display each word in a column and ignore all punctuation. I have tried including an if statement that tells the string to start on a new line when a space is encountered but I haven't had any luck. Any hints are …

Member Avatar for DawnDenise
0
162
Member Avatar for Lukezzz

I was just talking to my hosting and they did say that it is possible to login to my account and read a file using a secure connection. So called SFTP (Secure FTP). For the moment I use some code that is for FTP connection with EnableSsl = true; wich …

Member Avatar for Lukezzz
0
97
Member Avatar for Lukezzz

Hi, I wonder how it will be possible to open a .DLL file for editing, to reach the Source code files. ? Thank you!

Member Avatar for hag++
0
73
Member Avatar for deanus

Does anyone know how to set the character background color? I tried using system("color ") etc. but this sets the background color of the whole screen... What I need is the c++ equivalent of the 'textbackground()' function used in pascal.... thanks

Member Avatar for deanus
0
66
Member Avatar for jeffcruz

I have an assignment a C++ assignment and here is my code so far; [CODE] #include <iostream.h> #include <stdlib.h> #include <cstring> #include <cctype> class Student { private: char Name[80]; long SSN ; public: Student (char, long); void setSSN (int SSN); void setName (int Name); int getSSN (long); int getName (char); …

Member Avatar for jeffcruz
0
147
Member Avatar for manutd4life

here's my question: write a program that asks the user to type the value of N and writes this picture : N=1 * N=2 ** * N=3 *** ** * any help? tips how can i start?? thanks

Member Avatar for deanus
0
85
Member Avatar for zoner7

So I'm currently using Lazy Foo's tutorials. Here's the link: [url]http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet05e/index.php[/url] I followed all the instructions, but I'm having a couple issues. So when I choose an empty project, like the tutorials recommends, as opposed to one with a precompiled header, the C/C++ tab does not appear, and I am …

Member Avatar for thriek
0
265
Member Avatar for thriek

hey i'm really not sure how to solve this, im making a simple "press enter to continue" function called wait(), defined it in a header file with extern keyword, and then in the main file prototyped it and from then on used it as wait(); But it still states that …

Member Avatar for thriek
0
206
Member Avatar for thriek

Hey everyone, needing a little hand... i'm using the SDL on windows and all the right libraries are installed correctly, I know this because all my other functions that need these libraries worked and still do, but my SDL_Surface* pFontSurface; variable my print text method creates a compile error. ~The …

Member Avatar for thriek
0
252
Member Avatar for shrutinr

Hi ... I m having question on vc++ floating value slider in CLR windows from... I want to have a slider which should have 0 to 1000 value and the values should be float values.. can anyone please help me how to resolve this problem.. here i included the code …

Member Avatar for shrutinr
0
99
Member Avatar for nats01282

Hello all im trying to work out whats wrong with this code, [CODE]#include <iostream> using namespace std; int player1score = 0; // global variable int add10 (int &score) // function that adds 10 to player1score variable by reference { return(score + 10); } int main () { cout << "Please …

Member Avatar for nats01282
0
92
Member Avatar for evilsithgirl

hello. I am writing a program that will solve a type of min. spanning tree problem. i have 2 different algorithms that I've gotten working in two separate .cpp files i've named kruskels.cpp and prims.cpp. my question is this: each file takes the following command line to run it . …

Member Avatar for Salem
0
93
Member Avatar for jello69

i get this error, while I think I included the .lib files correctly. here's a detailed description of my problem [url]http://www.gamedev.net/community/forums/topic.asp?topic_id=567099[/url]

0
55
Member Avatar for wafie

[CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> #include <stdio.h> using namespace std; int main () { // Declared Variables. int choice; ifstream inputFile; inputFile.open("C:\\temp\\RowPrices.txt"); if (!inputFile) { cout << "Error opening file.\n"; } inputFile.close(); // These are my details. cout << "******************************************************* \n" << endl; cout << "Name: Bhupendra …

Member Avatar for Salem
0
184
Member Avatar for ilyaz

I have a C++ console executable module build in VS2008. To run it requires some MS components to be installed, namely: -- Visual C++ 2005 Redistributable Package -- Window Media Encoder 9 Package The module runs fine on all XP machines I tried but fails to load on a Windows …

Member Avatar for ilyaz
0
106
Member Avatar for elexender

Hi, I seem to have a problem with an 2D arrray. I want to create an 2D AnsiString array (AnsiString array[][] ). I can compile it but i get an acces violation when i try to put value in the array. I changed the AnsiString to integers witch works fine …

Member Avatar for elexender
0
217
Member Avatar for bletchley

Any good web resources out there for picking up C++ after already knowing Java? It's kind of a yawn to have to go back over concepts that are already familiar - functions, classes, polymorphism, recursion, etc. Really just looking for syntactic differences. Would be great to find some solid tutorials …

Member Avatar for Ancient Dragon
0
96
Member Avatar for vbx_wx

what am i doing wrong ? :) [CODE] if(InternetGetConnectedState(INTERNET_CONNECTION_LANINTERNET_CONNECTION_MODEM , 0) == true) { cout << "internet alive"; } [/CODE] [CODE] error: invalid conversion from `int' to `DWORD*' error: initializing argument 1 of `BOOL InternetGetConnectedState(DWORD*, DWORD)' [/CODE]

Member Avatar for mitrmkar
0
2K
Member Avatar for Lukezzz

I have a problem to re declare a List<String^>. The first line compiles fine but I get this error on the second line: [B]'operator =' function is unavailable in 'System::Collections::Generic::List<T>'[/B] I dont know what could be wrong here ? [code] List<String^> Lines = gcnew List<String^>(); Lines = gcnew List<String^>(); [/code]

Member Avatar for Lukezzz
0
146
Member Avatar for sjgman420

I dont even know where to start with this program. I have been really busy and he tells us what to do. If anyone could help with this it would be great. here is what it says to do ASSIGNMENT DESCRIPTION This program will simulate the card game WAR!. The …

Member Avatar for Freaky_Chris
0
873
Member Avatar for muzamal
Member Avatar for Galois77

Hello, I'm working on a project that involves making two dlls: one of them is in Borland C++ (file1-bc.dll), the other one is in Visual C++ (file2-vc.dll). Right now I'm prototyping and trying to make them as simple as possible and to see data being exchanged from one side to …

Member Avatar for Ancient Dragon
0
319
Member Avatar for Singh_shalini90

hello i hv a question... i hv to start my cpp project on the topic airlines.. as im a beginner only.. pls help me how can i start it from the beginnings.. pls ... help me..i hv to submit this project as soon as it is possible. pls tell me …

Member Avatar for Freaky_Chris
-4
92

The End.