19,876 Topics
![]() | |
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. … | |
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; … | |
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 … | |
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. | |
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 … | |
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> … | |
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 … | |
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 … | |
| |
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: | |
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 … | |
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 … | |
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 … ![]() | |
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. | |
how can i write a program in c using fibonacci series upto 200 numbers & using for loop statement ??? ![]() | |
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 … ![]() | |
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 … | |
A Nother Question What Are Classes And Is It Possible To Use A Class For Macking Pictures Or Shapes That You Can See? | |
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 … | |
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 … | |
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, … | |
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 … | |
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 | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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? | |
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) … ![]() | |
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 … | |
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:) | |
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 … | |
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] | |
good mornig i would like to know how to make a function that can play one song that's saved in a file? | |
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 … | |
Hi every 1 i need to have some application of the priority queue thanks :cool: | |
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 | |
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: … | |
: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 … | |
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! … | |
Hi guys inside the double array it holds '?' character. How would i do the format printing to print it like this ithe user input variable is the size variable if 5 is typed in it suppose to print 5 rows and columns and print 2 rows and columns if … | |
hi, i want to know everything abt container classes. please help me. bye Kushal | |
Hi, I want to change the font size of text in C language for printing text. Thanks in Advance. Ashish | |
One of the big disadvantages i have seen in C is the inability to read one line at a time from a text file.I haev tried writing my own algorithms to do the same but it doesnt seem to have worked all the time.Is there anybody who can help me … ![]() | |
Hi guys im trying to write a program this is the basic spec 2 teams of 11 to be picked at random and 4 reserves there are 40 people to chose from. I am seriously stumped here as I have to pick the two teams, I managed to write a … | |
Graph theory (vertex-edge) is one of popular projects for uni. students, here is a link which includes source code and explains. [url]http://www.syncedit.com/public/tutorials/university/cpp/index.html[/url] | |
[U]Background:[/U] I'm running a custom built computer with a huge C drive and an even bigger D drive. Windows was installed on C and many programs, files, pictures, and documents were on D. I started having internet connection problems so I called the techs at Bellsouth several times. Each time … | |
Respected Sir/madam, Could you help me in understanding the dynamic memory allocation for a 3D matrix. I have attached the file.I am allocating memory dynamically for the 3D matrix,which i am using in my project. As per the concept when new is unable to allocate the specified memory it will … |
The End.