51,592 Topics

Member Avatar for
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
100
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
133
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
120
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
147
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
194
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 sam mustang

my windows machine wont boot...it gives me a "c:\windows\system32\config is corrupt or missing"...what can i do.... but when i slaved this drive in another machine to take out some data ...i saw something very surprising....all the data in this drive is gone and replaced by data from another drive that …

Member Avatar for caperjack
0
203
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
108
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
265
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
96
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
102
Member Avatar for sandip250382

Buddies, I want to design a simple file download button in deafult.aspx. Can anyone provide me the detailed C# code behind it? Thanks in advance.

Member Avatar for majestic0110
0
213
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
146
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
41
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
89
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
214
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
119
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
207
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
181
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
263
Member Avatar for Miky123

Hello I am totaly new on the c# and access area.... i have a acccess 2000 format database with 6 culums where informations of articles and books are saved and need to write a database connection with c#. I basicly just want to search the database with different keywords, like …

Member Avatar for alc6379
0
71
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
196
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
404
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
142
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
113
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
Member Avatar for mhopeck

I'm trying to code a program that compares multiple values of two variables (CI and CF). CI contains one variable that can have 1 of 10 values, and CF contains variables which must be solved themselves (and one of these containing a variable that can have 1 of 3 values). …

Member Avatar for mhopeck
0
82
Member Avatar for sfurlow2
Member Avatar for hezfast2

Hi all. I'm having a minor problem with cases in my program. If I enter a number that is out of my case range (say I enter a 10 when there are only 4 cases) I've got my default to output an error prompt. When I enter a character, say …

Member Avatar for hezfast2
0
103
Member Avatar for sfurlow2

I'm trying to create 1000 random numbers using an array. I keep getting the same number everytime, though. How do I get 1000 different random numbers? Here's what I have so far: [CODE][LIST=1] [*]#include "stub.h" [*]int main() [*]{ [*] int number[1000], i; [*] int r[1000]; [*] [*] for(i=0; i<1000; i++) …

Member Avatar for Blondeamon
0
92
Member Avatar for Nemoticchigga

I have a visual studio 2005 form application. I also have created a header and source file with gets and sets and private variables for some of the data. How do I pass this data between forms? Ive looked at delegates but am having trouble understanding, is there another way, …

Member Avatar for Radical Edward
0
71
Member Avatar for Icebone1000

Thats the first time i started mess whit differents projects, and i got lost whit some things...very noob by the way... first, in a windowed project, i noticed my couts are not showed in the screen, so, how i supose should test my code? to see the result of variables, …

Member Avatar for Radical Edward
0
88
Member Avatar for potentialdesign

ok so i know all there is to know with text programming in c++. now i need to know how to give my program an interface. you know, like not using the command prompt any more.:S

Member Avatar for potentialdesign
0
118
Member Avatar for CodeBoy101

Is there a way to chose where a program outputs text to a file ?(or read text from a file). As in selecting which line to start from.? Any help is welcome. :)

Member Avatar for CodeBoy101
0
144
Member Avatar for Nemoticchigga

Does anyone know how to convert a "String^" data type in a visual studio 2005 forms app to an "int"? Ive tried atoi and casting to no success. Any ideas? Thanks.

Member Avatar for Nemoticchigga
0
100
Member Avatar for nouryn

i need help in c++ program I'm asked to make a phone book which can sort all the names in it alphabetically plllllz i need help

Member Avatar for nouryn
0
180
Member Avatar for MAPONYA

Write a C++ program ,that uses modularisation. The program allows the end user to enter a test mark which is converted into persantage by a particular funtion, the test mark is returned to main(), another funtion is called which detemines whether the student passed or failed if ist a pass …

Member Avatar for real_napster
0
145
Member Avatar for elementz

I just found a tutorial that teaches how to change the transparency of a text box with an Increase transparency and Decrease transparency button. I tried to work it but then realised the code was meant for C#. I am just wondering what code I would use to change the …

Member Avatar for marco93
0
128
Member Avatar for Raptoricus

Hi there, I've been writing in c++ for a little while now and am starting to feel more confident, I've noticed a possible error in a game I've been making, it is that when the player is inputting a character name, it is a possibility that they may put in …

Member Avatar for Radical Edward
0
171
Member Avatar for tones1986

Hey All - i working on a assignment for school. Given that, i would like to say i have attempted numerous ways to get this working, and its a simple part of teh assignment. Basically i am having problems with my 'insert node' method. I am unsure how i have …

Member Avatar for Radical Edward
0
113
Member Avatar for computers08

[code] double two( double, double); [/code] if the parameters are 17.5 and 18.3, what will it return? Please help

Member Avatar for Ancient Dragon
0
90
Member Avatar for computers08

[code] int test(int, char, double, int); double two(double, double) char three (int, int char, double); [/code] I need a statement for the function test with the actual parameters 5, 5,7.3, and 'z' please help

Member Avatar for Prabakar
0
94
Member Avatar for bhuwanrc

[code=cplusplus] #include<iostream> #include<vector> using namespace std; int main() { const int TYPE_OF_FISH=4; vector<Fish*>FishVec(TYPE_OF_FISH); FishVec[0]=new AustralianBass(); FishVec[1]=new EelTailedCatfish(); FishVec[2]=new GippslandPerch(); FishVec[3]=new ShortFinedEel(); cout<<"welcome for fish catching \n"; cout<<"press any to go out \n"; cout<<"keep pressing enter to get catch\n"; int i; Fish* aFish; char response; RandomInt d4(0,TYPE_OF_FISH-1); for(;;) { cin.get(response); if(response!='\n') …

Member Avatar for bhuwanrc
0
63
Member Avatar for Run.[it]

Im trying to figure out how to utilise a program that uses Aggregation of Classes, Im having trouble calling the operations of the Classes in my main. Could anyone assist where Im going wrong?! horse.h [code=cpp] #include <iostream> #include "distance.h" using namespace std; class Distance; class Horse { private : …

Member Avatar for Run.[it]
0
152
Member Avatar for HugoRocha

I need a way to convert a variable to an int or to ascii code, tried atoi, static_cast, didnt work very well... The objective is to detect if the user inserted any character other than a number, a number smaller than 0 or larger than 5, and send a message …

Member Avatar for HugoRocha
0
102
Member Avatar for asadullah

Detail About Recursion and its Type Here I am going to give a detail about Recursion in C++. Definition: Recursion is the process where a function is called itself but stack frame will be out of limit because function call will be infinite times. So a termination condition is mandatory …

0
177
Member Avatar for jireh

Guys, A challenge for us... for you I mean lol! Can anyone of you have any idea on how to make an equivalent code of On Error Resume Next of VB to C#?. Note: [COLOR="Red"][B]Don't use a try catch[/B][/COLOR] Regards, Jireh

Member Avatar for jireh
0
734

The End.