15,551 Topics

Member Avatar for
Member Avatar for a7la_lolly

pleaaaaaaaaaaaaaaaaaaaas i want the siluotion of this qustion b coz i have an exam after two dayes in pseudo-code and algorithems * write the pseudo-code to convert an arbitrary binary number to it's two complement representation and i need more exampels in this form about write the pseudo-code of any …

Member Avatar for Dave Sinkula
0
118
Member Avatar for skprasat

printf("\nThe Result is : %s %s %s %s %s %s %s %s\n",var[0],var[1],var[2],var[3],var[4],var[5],var[6],var[7]); while executing this i get correct result upto var[4].... and for var[5] and var[6] im geting some garbage valuess, then for var[7] im getg my result... whats wrong in my code.....

Member Avatar for winbatch
0
55
Member Avatar for jonnie83

With the following line I get a syntex error relating to the ifstream file [code]if ifstream file(filename.c_str()).find string1 ++counter;[/code] I have already declared the input file and do not understand why there is an error. Sorry for seeming dumb but I am new to this!!

Member Avatar for Dogtree
0
216
Member Avatar for maherddd

I would deeply appreciate it if someone can help me with this program because I have no idea how to do it and I need to get it done very soon. I appreciate any bit of help ,and thank you all _________________________________________________________________ Write a program that simulates rolls of two …

Member Avatar for Dave Sinkula
0
199
Member Avatar for typek

I'm searching for some resource script editor where can i make menus and dialogs and save it to the *.rc files. Just like one in Visual studio, but free. I found only editors exporting *.res files that are unusable (in Dev-Cpp). Do you use Visual Studio, or something else? Thanks …

Member Avatar for typek
0
143
Member Avatar for hemanth.balaji

I want to implement "whats this" functionality as seen in most of windows programs. For example -> When you right click on desktop and select properties and when u again right click on the properties dialog you get a pop up menu with "whats this". When i click on that …

Member Avatar for xiaoyueer
0
75
Member Avatar for skprasat

Hi all, im new to this..... i want to send a doube to client...so im convt that to char and sendg that...it prits d exact value in server, but in client it doesnt print the decimal value... it just display like '123.' my code looks like.... [code] struct sockaddr_in server; …

Member Avatar for Dave Sinkula
0
256
Member Avatar for letmec

Hello onces again to all of u I want to how can i get all the drives on a computer. It will very kind of u if u provide with a simple code.. Thanku

0
60
Member Avatar for hemanth.balaji

Hello, This is Bob from Bangalore, India. I have a doubt . I have a logo . I wanna display it in the project I made. But it is not happening. It worked ina a simple window program. But when I ported the same code in the below application which …

0
107
Member Avatar for amsnme

hi....can anyone pliz tell me how to go about converting numbers to letters on a telephone keypad...... eg when we txt..and suppose we type in 4663,we can get hood,home,good,gone....etc... got a project due!!!!!!!!! prefer it in C

Member Avatar for Dave Sinkula
0
208
Member Avatar for calibill

Hey everyone, I am a true beginner programmer, in the crunch of finals week. I need to create a GPA calculator and I am having some difficulties. Anyone who can should help me!!!

Member Avatar for Dave Sinkula
0
182
Member Avatar for Shadow13
Member Avatar for usausa

Hi, Can someone plz help me with copying the files contents into an array. the file contents maybe like... doit.dsp doit2.dsw doit3.cpp I want them to be copied to an array. Thank you

Member Avatar for Dogtree
0
131
Member Avatar for Ghost

Hi Everyone, I was wondering if there's a way to write a program that tells console to do certain commands. I think you can do it by using a function and writing the CP command as a string for the arguments. Thanx in advanced for your help!

Member Avatar for Ghost
0
96
Member Avatar for hemanth.balaji

How to we provide context sensitive help using win32 api. I did not understand all theat topic ids and stuff in msdn. Is there any examples on the net. I am a .hlp file to which i wanna provide context sensitive help from my project.

0
57
Member Avatar for hemanth.balaji

Hi people, I am doing a project for my college. I am doing the UI part using Win32 Api. I am learing wuite a lot from various tutorials available on the net. I am through with most of the GUI but only get stuck when resizing of controls is required. …

Member Avatar for hemanth.balaji
0
147
Member Avatar for jean

I really need some help to finish my assignment which is due 2005/05/23 I have the other header and c files but i need to do some more work ........if u can help me i would be very greatful plzzzzzzzzz this is the code that follows for exptree.c #include "exptree.h" …

Member Avatar for Dogtree
0
118
Member Avatar for dejaz

hi guys, i am stuck... we have to show wats in a file.... then at the end show the grand total of the Profits .. heres the report func.... [code]void report() { struct Prods ssg; double prof; FILE *f; f = fopen("data.dat","rb"); printf("\n\n\n==============================================================================\n"); printf("Prod# Type Description Qty Cost Price Profit\n"); …

Member Avatar for dejaz
0
243
Member Avatar for atrusmre

I am making a network application and am having some problems. I have a function that asks for username/pass and is suppose to activate a set of buttons on successful logon, however it's not working. (Logging on requires the user to press the logon button named IDC_BLOGON and then another …

0
57
Member Avatar for SquirrelProdigy

Why is it that a major class should be defined in a header file, then given a source file to define it's functions?

Member Avatar for Dogtree
0
160
Member Avatar for Auron

Hey everyone. I am not sure of any of you are familiar with the term MUD (which is Multi User Dungeon, a text-based game). If not feel free to go over to [url]www.mudconnect.com[/url] to check it out. Anyway, back to my post. What I am currently planning on doing is …

Member Avatar for Libertate
0
284
Member Avatar for maro009

hi i try to creat a _calculator and save the commands in _linked list the code compile but it crashes :sad: i attached my project i think you find the error in linkedlist.cpp in push_back(CalcCommand* data)

Member Avatar for Dogtree
0
60
Member Avatar for tat2dlady

I know you use strcmp() with strings and that if it is equal to zero, they match. But, how do you see if one string is less than the other? I want to compare SSN's to see if 12345620 is less than or greater than 123456708. Thanks for any input.

Member Avatar for Dogtree
0
1K
Member Avatar for pranavjec

hi guys, i need some help. i need one c program about a file called segy. hve to extract some information from its header(trace header) & stored it in another file to view.The information i have to extract from the trace header are inline,crossline,x coordinate & y coordinate. i wanna …

Member Avatar for Dogtree
0
195
Member Avatar for kramer147

here is the sequence i'm using for my arrow keys [code]#include<stdio.h> unsigned char keyin main() { if(square==1) {//start square putimage(285,440,ste,COPY_PUT); while((keyin=getch())!='\r') {//up arrow key if(keyin==72) {//hit up arrow keyin=getch(); square=2; }//hit up arrow }//up arrow key }//start square do {//game from start square on if(square==2) {//on square 2 putimage(285,400,ste,COPY_PUT); }//on …

Member Avatar for Dogtree
0
390
Member Avatar for CMania

hi.......We have a task to write a program in C in linux environment that takes 2 command line arguments: 1.the name of a text file that contains single-digit integer data in one line 2.an integer to be searched from the sorted version of data in file. The prgram creates a …

Member Avatar for Narue
0
219
Member Avatar for theinsaneone

Dear friends I am asking anybody to please provide me with a round robin scheduler in C programming. I have a non preemption program, but i need a preempted one. Please help.

Member Avatar for Narue
0
110
Member Avatar for winbatch

I'm trying to overload my 'Log' class so that I can pass 'endl' to it. Given the obscure nature of the compiler errors for template classes, I'm not sure what to put on the 'right hand side'. For example, these work fine. .. [code]Log & operator << (ostringstream & a) …

Member Avatar for Narue
0
2K
Member Avatar for nizar4445

hello all anybody could please tell me how to change this code to make it read from a file that has unknown no of students in it. now this [I]part[/I] of the programe read only 5 students. could you please help me to solve this problem as soon as you …

Member Avatar for nizar4445
0
266
Member Avatar for innocent_one

Hey.. Can anyone please help me? I am trying to write a round robin scheduler and so i decided that if i got a fcfs scheduler, then all i would have to do is change the process from completing in the processor to it just going into the processor for …

Member Avatar for innocent_one
0
544

The End.