8,298 Topics

Member Avatar for
Member Avatar for micropower99

Hey guys, I'm new here, seeing as this is a C++ forum I was wondering if someone could help me out with a C++ assignment I have. I need to make a word counting program. Here is what I need: [url]http://desertonline.net/classes/cs89a/zbecker/files/Assignments/WordCount.htm[/url] Username: cs89a password: ctwo Anyone who completes this project …

Member Avatar for SpS
0
217
Member Avatar for StealthCobra

Here is my program with the errors any help would be appreciated. error C3861: 'headTail': identifier not found, even with argument-dependent lookup error C3861: 'results': identifier not found, even with argument-dependent lookup error C2365: 'headTail' : redefinition; previous definition was a 'formerly unknown identifier' error C2365: 'results' : redefinition; previous …

Member Avatar for SpS
0
208
Member Avatar for jackknob

I have win2000,sp4 machine that when a user is logged on and they share the c drive as c$ it will change back to unshared after the machine is rebooted. The machine has a CD-Rom drive D shared as D$ which is not affected by it. It also doesn't seem …

Member Avatar for nanosani
0
89
Member Avatar for boki

Since i have to go to college i got on idea to preform a simple C# Syntax highlighting for my HP ipaq 1710,dont laugh at me when i tell you that i tried to create just window form without anything else and copy it to my Pocket PC,i use windows …

Member Avatar for Pscsc
0
249
Member Avatar for Gryzor

hi! i use tcpclient to get connections from clients to my server. but i need the information of the ip address of that client. i know that i have to derive a mytcpclient from the tcpclient class, but i get some errors when extracting the socket out of it. the …

Member Avatar for kedar_challa
0
933
Member Avatar for sam_bub

how i print the output of the c programming code in a printer and using c code? Like output is hello and also print the message Do u want to print it ? if i press yes it would be print in printer. please get me the c code of …

Member Avatar for Narue
0
30
Member Avatar for deadprogrammer

Hi everyone I am really having trouble right now with oracle for linux. Please tell me how to connect oracle using c/c++ in linux. If anyone knows about any tutorial or have code, please plzzz post me that as well.

0
66
Member Avatar for Balachandran

hi guys, i am a beginner and i need a few books which are really good and have lots of exercises.it would be better if it was fully devoted to exercises like 'Exploring C' by Yashavant Kanetkar which was excellent.All his C books are fantastic. you can finnd them at …

Member Avatar for stackOverflow
0
152
Member Avatar for urubu715

I've been working with OpenGL and Visual C++ for a short time, and I just tried to use the GLUI library for some fuctionality. But now I'm getting this error: [CODE]LINK : fatal error LNK1104: cannot open file 'LIBCD.lib'[/CODE] I've realized that the library is not anywhere to be found …

0
55
Member Avatar for Coool Pinky

hi frindz, o m new ti ur forum plz help me, i m trying to do my Library project in C#,but i m new to this language i need login code so that i can start my project by first completing login page.can somebody help me :confused:

Member Avatar for Narue
0
220
Member Avatar for kunal_ktr

hi, in c/c++ we have a function system() that lets us to call any external application from the c/c++ program. i wanted to knw that do we hve any similar function/method in C#?

Member Avatar for tayspen
0
161
Member Avatar for imanust

Hello, i am new to c++. i wanted to convert minutes e.g. 75, to hours and minutes in hh:mm format. any help will be greately appreciated. thanks :D

Member Avatar for winbatch
0
195
Member Avatar for manishgurnaney

How Can i Create a final class in C++? i have tried by making constructors private . but i want to know an efficient way of doing this?

Member Avatar for Narue
0
92
Member Avatar for j1979c

Hi :o , I would like to know if it is possible to write a console program in [B]MS Visual C++ 6.0 [/B](ATM transaction program), that stores data to a database such as [B]MS Access 2002[/B] or [B]Oracle 9i[/B], through [B]ODBC[/B] :?: I've searched all over the net and I …

Member Avatar for Ancient Dragon
0
173
Member Avatar for djbsabkcb

Okay I have a problem where the name of my vector is highlighted in yellow throughout my code and my output. I changed the name of the vector but on the output the word list is still highlighted in yellow, why? Below is my code: [code] #include <iostream> #include <string> …

Member Avatar for Ancient Dragon
0
107
Member Avatar for cobra2003

I need help with my homework. If someone is willing to help me then I will pay you for your time. Thanks my email is << moderator edit: email address deleted >>

Member Avatar for Dave Sinkula
0
101
Member Avatar for mmiikkee12

I've been trying to compile OSKit under Cygwin. It gave me a bunch of errors, most of which I fixed. I can't fix this one though: [code] /* * Copyright (c) 1996-2000 University of Utah and the Flux Group. * All rights reserved. * * This file is part of …

Member Avatar for mmiikkee12
0
138
Member Avatar for calcop

I everyone, I have two C Socket questions. I have searched the net and read my reference books, but cannot find my answer. Anyway, I am making a simple telnet based server. To create a new socket I am using the following code: [CODE]newsockfd = accept(sockfd, (struct sockaddr *) &cli_addr, …

Member Avatar for calcop
0
104
Member Avatar for trashed

hi everybody. i am trying to develop a program that will be able to read and export informations (hw, sw, kernel, netstats..ecc) from a linux computer. my idea was to use the files in the [b]/proc[/b] directory but i can't get the script to work - this is what i …

Member Avatar for trashed
0
3K
Member Avatar for este77

I need help with some homework. I need to write a program that uses a while statement to determine and print the largest number of 10 numbers input by the user. The program should use three variables: counter: A counter to count to 10, (to keep track of how many …

Member Avatar for Dave Sinkula
0
165
Member Avatar for alajaji

Hey guys am new in C, could anyone help me with this? write a program that store the values x and 76.1 in seperate memory cells, your program should get the values as data itmes and display them again for the user when done. thanks

Member Avatar for shaji
0
212
Member Avatar for andy257

Hi Guys I am a new member here and basically i have joined because i would like to learn some c++. I have no prior experience in any of these high level languages. I do have experience in turbo pascal but those of you who have used it know how …

Member Avatar for TIMBUCK
0
195
Member Avatar for PeterX

Hi! [code] for (year = 1; year <= 15; year++) { cost = (interest_cost + monthly_instalment); totalCost+=cost; //after how many years the totalCost > price if(totalCost>price) printf(" %d ", year); } [/code] question:after how many years the totalCost > price? my problem: if the price is equal to 10 $ …

Member Avatar for Drowzee
0
324
Member Avatar for Vladvaga

I need to write a program in C++ that will compute numeric grades for a course. The course records are in a file that will serve as the input file.Each line will have a last name, first name, ten quizes all on one line... you should calculate the average and …

Member Avatar for Vladvaga
0
144
Member Avatar for Niklas

Ive searched through google and most are not free, and the ones that are are being declared have a virus inside by norton as well as ewido. BTW im trying to do this because there was a PSP (playstation protable bin loader released) [URL=http://www.psp-hacks.com]website and article here[/URL]. I wanted to …

Member Avatar for Niklas
0
229
Member Avatar for Alan Lewis

Dear all, I'm developing an SNMP manager using WinSNMP API. While starting up the SNMP by calling the function SnmpStartup, it returns SNMPAPI_SUCCESS, but strangely the 5 output parameters are not defined after the function is executed. Is this normal? Why is this happenning? What should I do? Regards, Alan …

Member Avatar for CrazyScntst
0
823
Member Avatar for djbsabkcb

I keep getting this error message and the code below: I can't figure out why any help would be appreciated. Line 51 is this statement in my code: Element* Stack::Element::Prev(void) error message: [code] In file included from Stack03.cpp:28: Stack03.h:81:7: warning: no newline at end of file Stack03.cpp:51: syntax error before …

Member Avatar for Narue
0
147
Member Avatar for djbsabkcb

What am I doing wrong I am not getting these values from the input file to even display correctly or sort in order. Give me some direction? [code] #include <iostream> #include <string> #include <cmath> #include <iomanip> #include <fstream> #include <cmath> #include <vector> using namespace std; class CommandLineException { public: CommandLineException(int …

Member Avatar for djbsabkcb
0
149
Member Avatar for wdowell84

Hello, noob here. I just started taking a C++ class this semester and I've been understanding everything so far, but I'm sorta confused on the nested if statements. My homework is to have the user enter a number and it'll show the roman numeral. However whenever someone enters an invalid …

Member Avatar for Judas
0
182
Member Avatar for mysterio

[B]1. User will enter the ISBN, The system will trace the title and price of the book automatically. The system should check whether the book is in the stock or not. If it is not, please let the user to enter again. 2. Allow a customer to buy more than …

Member Avatar for Stoned_coder
0
157
Member Avatar for vjw757

im about to sign up for some college classes.. one is either going to be java or c++ for beginner. I dont know anything about these languages. Can you guys help me choose?

Member Avatar for chrisbliss18
0
439
Member Avatar for djbsabkcb

What is a two way templatized linked list in C++? Does it mean using syntax below for classes and member functions definitons? [code] template<typename type_variable> [/code]

Member Avatar for djbsabkcb
0
133
Member Avatar for dodsdad

help please since reformating the c-media ac97 will not start have done the usual things uninstalled/reinstalled downloaded updated drivers but only get device failed code10.

Member Avatar for dodsdad
0
86
Member Avatar for SpS

Hi, Please see the code below. [code]void Allocate( char* s ) { s = (char*)malloc( 100 ); } int main( ) { char* s = NULL; Allocate( s ); strcpy( s,"Test");/*I know that this will fail. b'coz I still have a NULL pointer in s. Initially s was pointing to …

Member Avatar for winbatch
0
103
Member Avatar for djbsabkcb

I am trying to write a program that reads in a file of numbers, writes to a file and displays the numbers in correct order. I don't fully understand how to read the file and pass that information into my class declarations in order to output before and after the …

Member Avatar for Stoned_coder
0
126
Member Avatar for Longnt

I have a table with an amount field and I want creat a report with 3 columns -Column 1 counts records with amount <=60 -Column 2 counts records with amount >60 and <=100 -Column 3 counts records with amount >100 and I don't know how to do, Somebody can help …

0
74
Member Avatar for higherGround574

if anyone knows of some good tutorials or links covering the how/to's of programming C completly off of linux command line... inputs would be greatly appreciated ... --thanx

Member Avatar for l3.azarmehr
0
93
Member Avatar for yaniv

Here it is... Design, write, and compile a program to determine if the digits in a three-digit number are all odd, even, or mixed odd and even. Your program should prompt the user to input a three-digit number and echo-print the number. If the digits in the number are all …

Member Avatar for yaniv
0
2K
Member Avatar for Micko

Hello, copying from one file to another is a simple matter. In C it's something like this: [code] int main(void) { FILE * fp1, * fp2 ; int buff; fp1 = fopen ("name", "rb"); fp2 = fopen ("name", "wb"); while ( (buff = fgetc(fp1)) != EOF) { fputc(buff, fp2); } …

Member Avatar for Narue
0
581
Member Avatar for Ancient Dragon

I just got a VC .NET 2003 compiler and want to learn C# programming. What books would you recommend? I've been reading the book reviews on amazon.com and there appears to be a lot of good books -- or so the readers claim. I'm not at all interested in "C# …

Member Avatar for Toulinwoek
0
160
Member Avatar for lucia

Hi, I am struggling with c++ linking problem in Linux... The C++ code has MATLAB engine inside, and it has no problem when compiling under Windows(same MATLAB version, MATLAB 6.5R13), but it can not be compiled with Linux, I always get the following error: [code]/usr/bin/ld: warning: libstdc++-libc6.1-2.so.3, needed by /s2bin/matlabR13/bin/glnx86/libmx.so, …

Member Avatar for lucia
0
522
Member Avatar for danny_tekle

Hi everybody i spent the last few months playing with .NET(c#). i'm considering to do a project work using c#(.net) just for my own experience. so can any one help me to pick an interesting topic to work with. Thanks

Member Avatar for c#dummie
0
140
Member Avatar for nisim777

I did a search of the forums here and found that there are a number of unanswered questions on this subject and a few that are ambigious. My problem is a bit unique however. I need to know if it is impossible to connect to a database with C++ using …

0
55
Member Avatar for HardTech

This uses Inheritance Im am doing inheritance on the console line, and well all is semi ok. But what im confused on is how do this in a windows design. I am trying to complete something, but I dont even know where to start. I was hoping someone could help …

Member Avatar for HardTech
0
377
Member Avatar for POW

I have been taking a few courses in C++ and I am having difficulty starting a few problems. I am seeking help to develope programs for the follwing questions: 1) Write a function to calculate the mean, variance, and standard deviation for values stored in an array. 2) Write a …

Member Avatar for Dave Sinkula
0
78
Member Avatar for zauber

Hello, for some time I have programmed in java and python, and would now like to enter the C-scene. The only problem is: I'm more or less only interested in C and not C++. And it seems quite tricky getting hold of programming tips and tutorials which apply to c …

Member Avatar for Narue
0
153
Member Avatar for altheastronut

Hello all, I haven't used c++ for years and now I need it for school. I am running a fortran 77 code and I wanted to know if it is possible to write a program in c++ (That's the only language I know) that generates random numbers with decimals and …

Member Avatar for Rashakil Fol
0
228
Member Avatar for Hady

I have a C++ program (Console Application), I want to be able to access it from the Web, My problem: I don't want the program to load every time a user connects to the page (it takes toooo much time), the program should load once and forever on the server …

0
107
Member Avatar for djbsabkcb

Exactly how do you create multi-file project and how do you compile it in C++ using Linux?

Member Avatar for kc0arf
0
325
Member Avatar for lax_irtt

c program to find smallest among three numbers without using comparsion operator C program for the simulation of unix grep command

Member Avatar for Narue
0
126

The End.