Hi all this is my first question.
Base line the main program i want to build does this:
Separates words from a text. (done)
Insertes them into an bidimensional array, (done but with e...
Simple program trying to test on my miracle c install.
Problem is in the fread statement
fread(&e[0],sizeof(e[count]),2,fp)
even though i have 2 records in the file i get
i get 2 prints on the screen
one is the first record and the o...
Hi guys I recently developed a general calculator......Now I want to modify my programme so that it calculates prime factors and also distinct prime factors of the number entered..........
...
Hi,
fun, fun, fun. So I'm trying to compile a linux native program on Windows (my first mistake...) using mingw32. It's failing during the link process and complaining about a missing libra...
Please, C/C++ compilers are single pass compilers or multipass compilers ?
Hi experts,
I have a VB form that calls a "C" function (implemented in a DLL) to draw the text on the VB form. The VB form sends the window hDC, text position, font name, font size and the...
We have an old Win32 application written under VS5 and mostly in pure C. Currently this applicaiton connects to Oracle 8i (Pro*C) to get login users permissions from an application-related O...
i fixed the problems thanks :) but now i have a new question on ordered insertion on a ordered list.
void ordered_insert(void)
{
NODE* new;
NODE* ptemp;
new = new_node();
...
Hi all,
I have similiar problem like below question about fgets.
http://www.experts-exchange.com/Programming/Languages/C/Q_21468404.html#discussion
Following is my question:
I tried use ...
Hi,
I'm trying to print out the value of a character array that's part of a structure. When I do this the output is partly garbled, part comes out fine. (below). Any suggestions why some ch...
Here is my program, I am getting a "error: expected declaration or statement at end of input" error message and I don't have any idea
/*
* 820677950_lab3.c
*
* Created on: Oct 28, ...
Dear Expert:
I have a program listening on a socket which I don't want to be a blocking socket. This is my code schema:
sck = socket(AF_INET, SOCK_STREAM, 0);
bind(sck, &my_sockaddr, si...
Hi guys, greetings,
guys do you know how to write the output in a text file.
I have written a code for a Sieve of Eratosthenes( to determine all p...
I have fair to good knowledge and experience with C language, no C++. I know some data strucures like Arrays, structures, and linked lists.
I will start working for a company as Embedded S...
I'm trying to read a data file below
apple; red
mango; yellow
watermelon; red
and place the data in a struct array. It shoud output
apple
red
mango
yellow
watermelon
red
Ho...
I am new to c programming and i need help with hash tables. My task is
The program should read a text file and output the number of words (tokens) in this file, as well as the number of t...
Hi I'm working on a unix shell and I'm running into two problems. I was wondering if any of you could help me out. My first problem is that the shell is not waiting for the child proces...
The aligment og the DrawTextExt command ist supposed to be controlled by a combination of flags DT_BOTTON, DT_TOP etc. Yer I found that the SetTextAlign command (which is supposed to influence...
I'm trying to read the below file into a c program and output them as 2 strings.
stud.dat consists of:
How are you?; I'm fine
Who are you?;John
is there a way to use vector STL in a c program? Please give example if vector can be used in c instead of c++.
I've been working on code to compare the chars in a pointer to a double pointer. Is there anyway to cast a double pointer as a regular pointer? I get a segmentation error if I try to just use ...
I need to connect to webservice (in C#.NET) through C++ or VC++6.0. How can i connect?
I have web service which will return bool value. I need to connect to it using C++ and get the returne...
Hi,
I've created a static pointer to a structure. The pointer is defined at the top of my source file. In one function I'm allocating memory for the pointer and in a second I'm freeing it. ...
fun, fun, fun. I have some mixed C/C++ code and need to convert the following:
1. String myString to unsigned char myString[50]
2. size_t mySize to unsigned int mySize.
Can you let me kno...