49,757 Topics

Member Avatar for
Member Avatar for arunpawar

It's not homework it is just a play.If you have any simmilar tragic like this one with int and character or float then please discuss it here or explain how things happen.Let this thread be informative. I'm playing with int,floats and type casts but i have found that in following …

Member Avatar for dougy83
0
114
Member Avatar for c++ newbie

ok. i'm having trouble understanding how to manipulate my data. this is what i have so far with my program. my input data is coming from two different file. the first file looks like this that has the student ID, last name, first name... 567 white Robert 43 blackBurBn DOnna …

Member Avatar for ithelp
0
88
Member Avatar for yureika

Is that anyone know how to search and list out the missing data after comparison? for example, I have data in 2 workbooks. Book1 - Sheet1 - Col A and Book2 - Sheet2 - Col B. I want to compare Book2 with Book1 and list all values in Book2 that …

Member Avatar for Sky Diploma
0
43
Member Avatar for tarakant_sethy

Hi friends, i have to delete a node in a link list and the prototype for the delete function is like this void deleteNode(struct node**, int pos). "Pos " is the position of the specified node in the list. And have to write it with all boundry condiotions. Help me

Member Avatar for Luckychap
0
121
Member Avatar for dineshgautam

Hi everybody, I am new beginer to VC++ . I want to make a connection between ORACLE and VC++ Application. Anyone can help me . your kind help would be appreciated

Member Avatar for John A
0
46
Member Avatar for dan_e6

hey guys. i have a linked list set out like this [CODE] struct node { string bookTitle; string *authors; int nAuthors; node *next; }; node *start_ptr; [/CODE] and i need to sort the linked list based on bookTitle alphabetically. how would i go about doing this?

Member Avatar for dan_e6
0
92
Member Avatar for kse989

I am having trouble with my binary search tree... these are the errors i am getting - it is my print function and the find function I have not written the code for the other print functions, i need it to compile before i can go on bintree.h - find …

Member Avatar for kse989
0
129
Member Avatar for iammop

[CODE]Private Function IsTextFile(FileName As String) As Boolean Dim FF As Integer Dim FileData() As Byte Dim K As Long FF = FreeFile Open FileName For Binary Access Read As FF ReDim FileData(LOF(FF) - 1) Get FF, , FileData Close FF For K = 0 To UBound(FileData) If FileData(K) > 126 …

Member Avatar for Ancient Dragon
0
115
Member Avatar for pooh2008

PLEASE HELP!!!!i need to write a program to record, average, and display grade for a maximim class size of 15 students. display a menu of options to the user, such as: input grades, display grades, and display class average.

Member Avatar for Lerner
0
143
Member Avatar for Spagett912

Hey I've written a program that prompts the user to enter sides and the program figures out what kind of triangle the sides equal. I keep getting some retarted error saying "3 triangleCalc.cpp `triangleType' does not name a type ". It's also saying " 1 Taxes\triangleCalc.cpp header.h: No such file …

Member Avatar for Spagett912
0
191
Member Avatar for Nemoticchigga

I have a visual studio 2005 forms application that is giving me fits. I want to open a serial port in 1 form, set it to a com port in a class, then use it from that class. The problem is it gives my a null reference exception. [CODE]String^ comPort …

Member Avatar for Nemoticchigga
0
77
Member Avatar for Lechugas

Hello, Can any1 help me doing this programs ? 1. A program in C++that alows you to visualize in a table the areas of a circle, and the volume of a sphere for a radio, with a range from 0 to 2, rising by 0.2 2.a program in C++, where …

Member Avatar for Lechugas
0
103
Member Avatar for rem0404

I'm really really stuck. What i'm supposed to do is, first, create a class called Book having the private attributes: title(string), publisher(string), and number of pages(int). For the Book class there are supposed to be two constructors: a default (setting title and publisher to some default value, and number of …

Member Avatar for Lerner
0
109
Member Avatar for dan_e6

hey guys. i cant remember for the life of me what the difference is between putting ++ before or after a variable (specifically an int). for example in a for loop.

Member Avatar for William Hemsworth
0
14K
Member Avatar for dan_e6

hey guys. just wondering what it means when a function has this in it.... void add(string title, string authors[], int nAuthors); the [] next to authors. what does this mean?

Member Avatar for dan_e6
0
262
Member Avatar for CloudKill9

I'm wanting to search a file full of http links.. I know how to search for a string and such but I don't know how I would search for a link inside a file. I just basically want to search a index.html for a certain site pertaining to ..lets say …

Member Avatar for Nick Evan
0
92
Member Avatar for Black Magic

I went to the beach at the weekend and played on one inpeticular game, the one were you pull the lever and XOO or w.e comes out, i was going to make one but thought i would ask if this was the best solution.. [CODE=C++]#include <conio.h> #include <iostream> using namespace …

Member Avatar for Black Magic
0
100
Member Avatar for Jennifer84

I have 2 buttons on my form. The First button contains a loop and second button a MessageBox. If I press the first button, this loop will take sometime. Now is my question this. Let´s say that the loop will take about > 5 seconds and I press button2 after …

Member Avatar for Radical Edward
0
143
Member Avatar for baku

In a hotel with m floors and n rooms on each floor, we know the number of persons from each room. A cable will be installed going horizontally or vertically through successive neighbor rooms. How can this cable of length = height + length of the hotel be installed starting …

Member Avatar for Prabakar
0
40
Member Avatar for Dannyo329

Is there any way to add images onto your program? I'm using Dev-C++ Thanx

Member Avatar for Dannyo329
0
85
Member Avatar for edek

Is there any difference between C and C++ pipes implementation? Is there any C++ library that makes using pipes easier? I ask those questions because there are many 'wrapper' classes in C++ that wraps C (like string, vector etc.) Is there anything that 'wraps' pipes? <Thanks>

Member Avatar for Nick Evan
0
208
Member Avatar for varsitygirl_13

Hi, i am working on a quicksort function and I have everything except how to sort the second half. I am missing one line, where to start the second half and for how many items, any help would be greatly appreciated. THANKS! [code=cplusplus] int * partition(int array[], int size); void …

Member Avatar for ivailosp
0
115
Member Avatar for still_learning

Hi, I could use a little help if anyone would be willing. I have some vectors which I am using to store input from a text file. Now I want to be able to store user input into a vector and output it to that file so that it replaces …

Member Avatar for still_learning
0
187
Member Avatar for Kyouya

I've been trying to figure out whats wrong with my project. Its about multiimensional arrays. I am trying to input data from a file to a 2d array. Here is my code below; [code] #include <iostream> #include <fstream> using namespace std; const int I=3; const int J=3; //will input 2 …

Member Avatar for Kyouya
0
180
Member Avatar for sidharthrshah

Hi, I have a legacy application in vc++ 6.0 which communicates to a server. The server follows c++ data types. I want to convert my legacy application to c#. Now I am facing some conversion issues. The server accepts data in binary format. But when I declare a char data …

Member Avatar for alc6379
0
254
Member Avatar for wleemitch

If I have in a text file a word followed by numbers, how would I read only the numbers? Ex: Add [COLOR="Red"]5645635654653463546[/COLOR].

Member Avatar for wleemitch
0
194
Member Avatar for hezfast2

Hello, I'm almost done with this program, but when I want to sell an item (option 2) I get an error after I enter how many 'vector subscript out of range'. The program compiles correctly, but I cannot for the life of me figure this one out. Any Help? [code] …

Member Avatar for littlestone
0
382
Member Avatar for toolbox03

How do i read in an equation in this format: 1 + 2a + 3b + 4c? I need to extract only the value 1, 2, 3, 4.

Member Avatar for toolbox03
0
138
Member Avatar for dark_ivader

Hello, ive recently been making a program, and am trying to do some file i/o so that it can log information. Ive been trying to do it via a class. Well, i ran into a problem just clearing the char arrays (for my purposes they need to be cleared to …

Member Avatar for Lerner
0
110
Member Avatar for lahom

hi i have a dialog based application with edit box control...i know how to save the data from the edit box to a certain file.and open it again (but i need to open the dialog and press the open button and choose the file then ok)... it is along way. …

0
74

The End.