18,490 Topics

Member Avatar for
Member Avatar for anupam_smart

Ok, :) For the conversion of binary to decimal, check it out: Let’s say we have to convert – 1010.1010 We solve this kind of problems into two parts as follows: (<LHS> . <RHS>) 1. First take the left hand side no. of the radix point( . ) which is …

0
157
Member Avatar for MIGSoft

"COMPUTER SCIENCE SESAME STREET" Narrator: One of these programs is not like the others, One of these programs has a bug. One of these programs is not like the others, And if you can't tell which one, you're a mug. One of these programs is not like the others, One …

Member Avatar for BeastOverlordH6
0
131
Member Avatar for Aldin

Hi I am having a file called Log.csv which contains 196 columns 9 of them empty and 1447 rows, I start reading the file but as I think I am facing a problem of getting the whole data, actually it gives me empty screen when print out on the screen. …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for ultirian

Why wont my delete name function acualy delete any names? [CODE]#include <stdio.h> #include <stdlib.h> #include <strings.h> void add_member(void); void remove_member(void); void display_next_member(void); void display_required_member(void); struct member_type *seek(struct member_type *, char[], char); void error_routine(void); struct member_type { char m_f_name[30]; struct member_type *pointer_to_next_record; }; struct member_type *position_ptr = NULL; struct member_type *temp_ptr; …

Member Avatar for orko
0
114
Member Avatar for Mr T.

I have been working on this code for a banking program I am trying put together. Trying to test my ability to grasp this stuff on my own. I am stuck on this part and maybe it is my non-math mind that is causing a block. Can someone help me …

Member Avatar for orko
0
217
Member Avatar for MIGSoft

Now, Now, Don't laugh! I am still a huge Beatles fan (they rock). It turns out that Beatles write some songs (secretly), about computers as well. Who could have thought? ;) --------------------------------- * Write In C (Let It Be) * Eleanor Rigby * Yesterday * Unix Man (Nowhere man) * …

Member Avatar for BeastOverlordH6
0
420
Member Avatar for neeludhiman

Hi friends, Can anyone please tell me how can I send an http request in a C program. I am working in Linux environment. Thanks.

Member Avatar for Salem
0
93
Member Avatar for toara

Any hint on how to start writing the following program: " a golf game that allows the user to play one hole, a 280 metre par 5. The game proceeds with the player choosing a club for each shot and then the program generates the distance hit for each shot …

Member Avatar for Salem
0
119
Member Avatar for degamer106

I wrote a program up with linked lists that creates a circular list containing 9 nodes. Each node contains a number (ranging from 1-9) as an item. My question is...in the while loops, how does [CODE]x = x->next[/CODE] cause the pointer to move across the list? [CODE]#include <stdio.h> #include <stdlib.h> …

Member Avatar for Drowzee
0
118
Member Avatar for iamboredguy

for my project, I need to generate an n*n matrix (n is user input) with numbers from 1 to x (x<n) positioned randomly. I tried implementing it with this code but it doesnt seem to work. x = n*n - number of holes. the number of holes is user input …

Member Avatar for iamboredguy
0
234
Member Avatar for aripaka

Hi All, Like most of our friends, I am also a newbie to Linux. I had installed Fedora core 4 on my PC. No doubt it was working very good. But i am a bit confused with the procedure of package installation in linux. The following are the pproblems i …

Member Avatar for chrisbliss18
0
132
Member Avatar for princess_lia

Hello everybody, I have recently joined this forum. I am facing a problem of which I cannot see any solution anywhere. :sad: Please help. I am trying to write a C program in MSDEV(VC++6.0). [B]My problem is "FindFileData.cFileName" is picking only the first letter of the existing filename, and so …

Member Avatar for Ancient Dragon
0
312
Member Avatar for degamer106

How do I make selection sort work with strings in a structure?? My compiler doesn't seem to like my variable assignments under the show_alpha() function. :cry: [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #define SMAX 12 #define LEN 20 #define EMPTY 0 void show_empty_num(struct data *); void show_empty_list(struct data *); void …

Member Avatar for Micko
0
230
Member Avatar for gampalu
Member Avatar for anupam_smart
0
100
Member Avatar for frank1984

Hiiiii :) iam new member from saudi arabia and i need help for my program in c language ,the out put dont perform the operation of linklist please help me :rolleyes:

Member Avatar for Salem
0
167
Member Avatar for liliafan

Hi All I am writing an application for work that will be distributed across about 200 servers, installing is going to be a big enough pain but what I am looking to do is ensure that after the application is installed it can doing a daily check against a master …

0
72
Member Avatar for la_scala

this problem ask the student name and the grades and keep them in string array. but I have to list all of them in the end of program like this: Number of students to be entered : 4 1. Student name? Jane 1. Student’s grade? 65 2. Student name? Adam …

Member Avatar for Ancient Dragon
0
107
Member Avatar for tsubasa

Well i'm trying to do a calculator program and i'm using recursion to find brackets ( called BracketSearch() ), after finding a "(" i start copying all that is after that in another vector V2 until i find it's corresponding ")". eg if originally it was 1+2*(3-4*(5/6))-7 then in V2 …

Member Avatar for Member #46692
0
103
Member Avatar for jax_123

i want to develop a c program from which i can lock the dos commands. example. when user enters a dos command, it request for a administrative password. after providing password, it executes that command.also, it facilitates to lock and unlock commands of dos.

Member Avatar for Ancient Dragon
0
105
Member Avatar for Asif_NSU

I am trying to access files in a folder. The folder name and location will be given - the program will search inside the files in that folder for a specific pattern(yup like grep). However, I am not sure how to actually let my program know what are the files …

Member Avatar for Ancient Dragon
1
290
Member Avatar for breal

how can i write a program in c using fibonacci series upto 200 numbers & using for loop statement ???

Member Avatar for Member #46692
0
153
Member Avatar for grunge man

how do u make it so when you enter in a number then outcomes a letter also to make it more convienent for the computer i have the list for each letter on the keyboard witch is assinged a given bianary code in ASCII so if your type in 1000001 …

Member Avatar for Member #46692
0
404
Member Avatar for YoTaMiX

Hello to you all , I have been assigned to in C to build a function which will take 2 strings and count (in recursive way) how many chars are alike (case sensitive). I have setup the main and also a function which recieves the input from user . I …

Member Avatar for YoTaMiX
0
201
Member Avatar for tsubasa

Is there a method that already exist that i can use to find if in an input there are alphabets or symbols eg $, # but not operators eg /,+,-. If there are alphabets and symbols it must return me true else false. My problem is that i want to …

Member Avatar for Narue
0
98
Member Avatar for shakoush2001

Hi ..Iam using Cbuilder 6 ...Proffesional edition..I am trying to create a distributed application...I have already created the client object and the server object ..what I need to do now is to make them interact...Ive searched alot and I really cant find an article that takes me step by step …

0
70
Member Avatar for degamer106

How do you clean out the contents of an array after you take input? In my program, I put fgets in a loop to get input. However, once I loop back to the beginning to get input for the second time, the previous input values are still in the array, …

Member Avatar for Salem
0
379
Member Avatar for chelo77

I'm having problems here with this function i'm making, i need to make function that will write to a text file. This function has to ask the user for the file name and check if it exists. If this is all good then it will write the string in the …

Member Avatar for WolfPack
0
239
Member Avatar for Kashif

hi first i am using tc3 compiler which gives error for cstdlib second i want display a eng multiplication method i have done every thing but how can i shift one left or right each line like 123 11 --------- 123 123 -------- 1353

Member Avatar for Ancient Dragon
0
233
Member Avatar for rontab68

Hi, Is there a faster means by which I can get data from an edit box and assign them to an array. lets say I got this intergers m_1....m_100, and I want to put the values to an int val[10][10] whaat I did was to hard code each interger to …

Member Avatar for rontab68
0
129
Member Avatar for ninja

ok, ppl...... i've got a new problem...... im workin on a package at my coll here and im doin spreadsheet.... i have to implement it using linked list and am having trouble in deciding what sort of a linked list i use.... Wat i tht of was, i can first …

Member Avatar for Lord Soth
0
203
Member Avatar for chelo77

I am doing my program here which is a simple input characters classify them and display them, it has other functions as well. My problem is that i had to modify my program starting to use pointers. In the menu number 7 it asks for a charcter you want to …

Member Avatar for Salem
0
117
Member Avatar for ianrosengren

I developd a COM to custom IE printing,for Microsoft® Internet Explorer 5.5 or later.It is not straightforward before I fixed several bugs.Ii is some kind of a simplified scriptx and easy to extend. May it help?

Member Avatar for ianrosengren
0
114
Member Avatar for degamer106

The goal of my program is to take in 2 inputs - one for the base, and one for the number (which should be of that base type). It will then do a calculation and print out the number in base 10 form. For instance, Input Output ========== ====== 10 …

Member Avatar for degamer106
0
112
Member Avatar for jack223

Trace the Partition function on the following array: [0] [1] [2] [3] [4] [5] [6] 'F' 'K' 'A' 'R' 'C' 'Y' 'G' Assume that ChoosePivot returns without doing anything (the purpose of the function it to move the pivot to the leftmost position in the subarray, so by doing nothing …

Member Avatar for Narue
0
234
Member Avatar for ani_manit

we are making a project which converts a bmp file to a jpeg file. Can someone please tell me where to find an appropriate decription of the header used in JPEG. Basically do we need to have the header information to bring about this conversion?

Member Avatar for Ene Uran
0
92
Member Avatar for vamsi.rgiit
Member Avatar for SpS
0
59
Member Avatar for csjenci

Hi All! I'm triing in MFC to insert a string into a database, which 200k is. In the case, when the string is small, it works, but it isn't working, when the string is 200k. Here is my source code: CDatabase db; rset_ekg *ekgrs; Cstring SQLQuery,cbuff; if(db.OpenEx(_T("DSN=dsn_name;UID=user_id; PWD=passw"), CDatabase::noOdbcDialog )!=0) …

Member Avatar for Member #46692
0
128
Member Avatar for porterrj

i have thought long and hard.......... It's due tomorrow at 8 AM. I would love to sleep on it.....but seriously my mental capacity for figuring this out is less than a two-year old. I've been trying for the past hour......how sad is that !! Please help me.....!!! makes the difference …

Member Avatar for SpS
0
147
Member Avatar for thehakan

Hi everone. I need some help about o-notation. Actually I don't know so much things about that and I want to learn. If somebody send me some powerpoint documents, lecture notes or links about that, I will be happy:)

Member Avatar for thehakan
0
106
Member Avatar for degamer106

Ok..I get how to do binary division and have written this simple program (everything except the output with putchar()). My goal, however, is to invert my input and print it out. I ran into a few problems trying to accomplish this: - How do I get the one's complement operator …

Member Avatar for degamer106
0
109
Member Avatar for complete

I wonder what I am doing wrong here: [QUOTE] INITCOMMONCONTROLSEX InitCtrlEx; InitCtrlEx.dwSize=sizeof(INITCOMMONCONTROLSEX) InitCommonControlsEx(&InitCtrlEx);[/QUOTE] And why I get this error: [QUOTE]error C2440: 'type cast' : cannot convert from 'int' to 'struct tagINITCOMMONCONTROLSEX'[/QUOTE]

Member Avatar for complete
0
108
Member Avatar for dvr

does anyone know if Dynamic C is the same as visual c+? also I am trying to find or make a simple program of a time clock like this for controlling outside lights. [IMG]timeclock.jpg[/IMG] does anyone know where to find a site for help on this?

0
70
Member Avatar for Moe

Hello everybody! I would like to know "how to link header file (.h file ) and source file (.c file ) in c. I have downloaded many .h files and .c files. I have noticed that the functions are declared in .h files and denined in .c files. I don't …

Member Avatar for WolfPack
0
2K
Member Avatar for Braga_ESI

good mornig i would like to know how to make a function that can play one song that's saved in a file?

Member Avatar for andor
0
88
Member Avatar for musicmancanora4

Hey guys im having allot of trouble im using a rather modulized solution which is how i need it for my assignment. However when i enter input using a function called getUserInput() that i created it accepts input correctly, but when it validates the input using my validateMonth() function it …

Member Avatar for Narue
0
149
Member Avatar for some one

Hi every 1 i need to have some application of the priority queue thanks :cool:

Member Avatar for Narue
0
131
Member Avatar for prasath

hi, is it possible to declare constructors as private? if yes, will some one explain me how to do it or please provide some links regarding that. thanks & regards prasath

Member Avatar for Narue
0
84
Member Avatar for degamer106

The program sorts numbers in ascending order. If the user enters a "-r" in the command line, the program sorts the numbers in descending order. The problem I'm having is that I can't get the **** program to read the if/else condition correctly. Maybe something wrong with my syntax? :evil: …

Member Avatar for degamer106
0
79
Member Avatar for tiffani

:idea: :idea: hey, guys & experts :D i'm havin' a big pro now~~i can't past the test 3 now... i know i may hav a bug but seems too hard for me to find it out can anyone help me???seg fault... i hav asked many ppl but....plzzzz ====the file==== dict.cc …

Member Avatar for Narue
0
180
Member Avatar for cinderella

um... i'm an IT student. i'm still a freshmen though... i'm kinda confused with c programming. i have to make this program using stack. i can add, delete, and view all records but i can't seem to make my search function work. here's my codes, hopw anyone can help. thanks! …

Member Avatar for Narue
0
190

The End.