15,539 Topics

Member Avatar for
Member Avatar for tat2dlady

I have a problem that deals with reading a random access file and creating an index file, which is a file to hold the binary tree of the random access file. I have the index file created with SSN (key), relative address of the SSN in the random access file, …

0
56
Member Avatar for Raiders

[COLOR=Blue][FONT=Arial Black][SIZE=5]:idea: [COLOR=Blue][FONT=Arial Black][SIZE=4][FONT=Arial][SIZE=2]hi everyone, i need some help. My question is , if i want to input a password which is 123456, how do i output the password on the screen using ****** instead of 123456. Do anyone know how to create the source code ???[/SIZE][/FONT][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR]

Member Avatar for Dave Sinkula
0
184
Member Avatar for eilidh

This is an assignment where the server uses a socket to communicate with a web browser however it has to be multi threaded but I am not sure on how to add code for the threads, i have attempted it but got no where. thanks. [code]/******************************************************************** * Systems Programming (COMU311) …

0
81
Member Avatar for Acidburn

Hello, our tutor set us a task to do , which was make a vector out of a class. So I've implemented a basic one but it doesnt work well... its runs ect ... but when you re print the entered elements it doesnt print the correct ones: [php] #include …

Member Avatar for Dave Sinkula
0
160
Member Avatar for tyczj

im doing this lab and im so lost on it, i dont know where to start. here is the link for the lab [URL=http://north.ecc.edu/kuroskit/cs111-01-sp05/labs/Lab10%20spg%2005.doc]Lab[/URL] now im not lookin for someone to do it for me just help me out on gettin started. im not sure how to use arrays and …

Member Avatar for tyczj
0
223
Member Avatar for cap2361

I wrote a blackjack game for class and one stipulation is to have a file(fstream). I did get the file stream to work but not like it should. it keeps track of player name and money amount. what i would like to do is give player option to save game. …

Member Avatar for Pikachu
0
172
Member Avatar for wal99d

[B][code] #include <stdio.h> #include <math.h> int main() { double op1,op2; char opp; char *res= "2 ^ 1"; sscanf(res,"%d %c %d",&op1,&opp,&op2); printf("%d\n",op1); printf("%c\n",opp); printf("%d\n",op2); printf("====\n"); printf("%d\n",pow(op1,op2)); /* the output is for sure 2 */ } [/code][/B] [COLOR=Blue][B]but it output : 1073741824 <-- ??? I don't know what here so please any …

Member Avatar for wal99d
0
290
Member Avatar for Sukhbir

what will happen if we free the same memory two times in C. for exam........ char *k=(char *)malloc(4); free(k); free(k);

Member Avatar for Narue
0
91
Member Avatar for thlegendkiller

a program that will display teh string "HELLOWORLD" in ascending style [code] #include<stdio.h> #include <conio.h> void main() char str[]="HELLOWORLD" int i. choice; while(1) { clrscr(); printf("(1) Ascending style\n"); printf("(2) Exit\n"); printf("enter your choice:"); scanf("%d", &choice); printf("\n\n"); switch(choice) { case 1: [B]for (i=0; str[i]!='\0';i++) //--> Please!!! this is where i need …

Member Avatar for Narue
0
340
Member Avatar for xanatoes

Microsoft YCMD Software Giveaway! Hey, Microsoft is sponsoring their 2005 annual contest, “You Can Make a Difference

0
109
Member Avatar for winbatch

Hi, I'm trying to write code such that my class can be used like so: To accomplish this, I'm trying to overload the + operator of my class to return a string. I am able to do this, but when I try and do the operation above, I get: Error: …

Member Avatar for Narue
0
296
Member Avatar for ikanku15

my programme has the strcmp. but i dont understand what it is use for. while((strcmp(current->bed_num,beddelete))!=0) bed_num and beddelete i have declared as an integer variables. when i run the programme, it stated that invalid conversation from 'int' to 'const char*' what does it mean?? thank you

Member Avatar for Narue
0
196
Member Avatar for feda

please ,if one can help how to implement caht application using socket in c/unix or help me with example code of that with my thankssssssssssssss feda

Member Avatar for feda
0
73
Member Avatar for wal99d

[COLOR=Blue][B]Is the following code correct:[/B][/COLOR] [CODE] char * cmd="ls -l"; /* Unix command used for listing */ char * spCmd; spCmd = strtok(cmd , " ");/* it divides the cmd in to tokens */ execvp(spCmd[0] , spCmd);[/CODE] [COLOR=Blue][B]output of this code to execute command that is written in cmd ?[/B][/COLOR] …

Member Avatar for wal99d
0
242
Member Avatar for wsn

hello everyone, I'm writing a function traverse for a doubly liked list, I can only use these private members: Node *current , int count, int mutable current_position and one one private member function void set_position(int position) const The post condition of member function traverse is the action specified by function …

Member Avatar for wsn
0
129
Member Avatar for haskari
Member Avatar for haskari

plz anyone urgently send me the coding of graph create of trig nometric functions in c language.i have to summit my project with in 18 hours from now on .sos.

Member Avatar for Narue
0
107
Member Avatar for Fasola

[B]How would I make a "computer reservation system" for public computers?[/B] RESERVATION PROCESS: Step 1: Enter PIN at Reservation Computer (if pin is valid go to step 2 else back to step one) Step 2: Select SEATED or STAND UP computer Step 3: Select OK for earliest reservation or CANCEL …

Member Avatar for Fasola
0
182
Member Avatar for nizar4445

hello all can anybody help me with this tutorial question please??? This is only part one and i think i can manage the rest of it if uoy help me with that part. I know that you don't help students with their homworks or assignments but I have completly no …

Member Avatar for sinrtb
0
121
Member Avatar for calenna

i have a dialog box with a grid attached to it. No matter what I do, this dialog doesn't have focus untill after its been clicked on. In order to click on a button you have to click twice. The box is active, it just doesn't seem to have focus …

0
73
Member Avatar for jhdobbins

heres my main [CODE]int main(){ int hours[50], cnt = 0; char grades[50], gpaForOneClass[50]; string course[50]; float gpa = 0.0, totalHours = 0, gpaSum = 0; gradevalue in; while (1) { cout<<"\nEnter a course, the letter grade received, and the credit hours. "<<endl; cin >> course[cnt]; if (course[cnt] == "quit" || …

Member Avatar for Dave Sinkula
0
769
Member Avatar for marjan_m

Hi any one who can give help me from the book of Computer Graphics by Donald Hearn? I want help abt the exercises thankx

Member Avatar for marjan_m
0
109
Member Avatar for sinrtb

I know this is a stupid questions how do i send this : struct Activity { int i, // Beginning node number. j; // Ending node number. float pt, // Pessimistic time. prt, // Most probable time. ot; // Optimistic time. char desc[21]; // Activity description. } p[51]; into this: …

Member Avatar for sinrtb
0
121
Member Avatar for Menohac

Ok i play this game and i need to add a wedding system onto the server which runs in C language the first box is the variables.... [CODE]// Variable Notes: // // event_wedding - 1 signifies marriage // $groom$ - Groom's name storage // $bride$ - Bride's name storage // …

Member Avatar for Menohac
0
180
Member Avatar for monkeymule2

What do these errors mean? main.obj : error LNK2001: unresolved external symbol "public: __thiscall Weekly::Weekly(void)" (??0Weekly@@QAE@XZ) main.obj : error LNK2001: unresolved external symbol "public: __thiscall Daily::Daily(void)" (??0Daily@@QAE@XZ) main.obj : error LNK2001: unresolved external symbol "public: __thiscall Onetime::Onetime(void)" (??0Onetime@@QAE@XZ) Daily.obj : error LNK2001: unresolved external symbol "private: static int Daily::num_of_Dappointments" (?num_of_Dappointments@Daily@@0HA) …

Member Avatar for Dave Sinkula
0
131
Member Avatar for Acidburn

I've got a program which works but when I try to implement a destructor in the base call and make it a virtual pure function it doesnt want to work with the rest of the system ... [quote] circle.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Shape::~Shape(void)" (??1Shape@@UAE@XZ) …

Member Avatar for Acidburn
0
130
Member Avatar for Gink

I've been asking around places about how I would intercept all UDP packets being sent from my computer and re-send them at a later time. I basically want to pause the packets for 100 milliseconds then send them wherever they were going. I heard something about writing a DNI driver …

0
63
Member Avatar for gambit56

Hello!!! Im new to this forum, I'm also quite new to C programming and im having some problems with a program It's a bit long winded so youll have to be patient :-| The program is about a football league First Question: Entrying zeros into a variable to be shown …

Member Avatar for gambit56
0
133
Member Avatar for gnoon

I've already turned this in for (I hope) partial credit, so I'm not asking for help in getting a grade. However, future assignments build off of this type of program, so I do need to understand how to make this work. I believe it is painfully obvious that I am …

Member Avatar for marinme
0
164
Member Avatar for frankieb

Hi All, Can someone look at this code and tell me how I may use the Array (CPoint point) to draw the lines based on user input in text box. The program works fine without the array right now. I want to try to use an Array instead. I'm trying …

Member Avatar for frankieb
0
123

The End.