| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by WaltP
Guidelines for Posting Requests for Help
version 3.1
GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
|
|
1 |
6,245 |
|
|
by Lala
This is what I have so far:
#include <stdio.h>
#include <stdlib.h>
//count # of pixels of specified intensity in pgm image
int main (int argc, char *args)
{
|
|
1 |
47 |
|
|
by psm
Good afternoon,
please can you advice me, how to save some data to xml? I need it in language C. I will have some number (123341) from reader and I need to give it to xml with time, when it will be recieved. Thank you.
|
16-Nov-2009 16:46
by psm
|
4 |
67 |
|
|
by emanresu
Hello,
I am looking to upgrade my programs from Microsoft C version 6 to Visual Studio 2005 and am trying to compile the btrieve program btrapi.c.
Unfortunately I get these errors:
c:\dev\c\btitypes.h(145) : error C2143: syntax error : missing '{' before '*'
c:\dev\c\btitypes.h(146 ) : error...
|
|
1 |
51 |
|
 |
by aijazbaig1
Hello folks,
Im trying to create a simple program that allows a process to create a copy of a certain file. The parent reads from the file, sends the data over a pipe to child process. the child then reads data from the pipe. It creates a file and dumps the data that it read into this newly...
|
|
1 |
84 |
|
|
by psm
Good evening,
please can you help me with this code? I want to change it, because I must read some data from reader, which will be access to pc by rs232.
Thank you.
#include <windows.h>
#include <stdio.h>
int main(int argc, char *argv)
{
|
14-Nov-2009 08:36
by psm
|
7 |
143 |
|
|
by iblink
Hello. I am trying to push in into a stack characters one by one from a char array. It is prompted to stop when an asterisks '*' char is read. But it doesnt seem to work that way for me. I am having problem with the part where i compare each char to '*' while(input != '*'). I get no output from the...
|
|
3 |
52 |
|
|
by claud10
Hi, I am actually programming in C++, but now I have to deal with a C library, and pure C is really out of my scope. This library has a function that, say, receives as parameter a pointer to a FILE stream. Let us say that it has the form
void function_print ( FILE * f )
The function prints to the...
|
|
1 |
46 |
|
|
by OlaE
I need to add some kind of disriptive text to an allready defined array of a struct. Let me try to explain what my intention is, and se if it's doable.
// variable that holds config data
static char Mode;
static char Com;
//Structure that holds data + pointer to the variable
//I have removed...
|
|
5 |
141 |
|
|
by cheifjoe87
Ok the source code for the program is listed below,along with the program outline.
And here are the problems with the program that im experiencing.
Wedit output window build: Fri Nov 06 16:57:55 2009
e:\cop2000\project6\#6.c:
Error #6.c: 47 operands of / have illegal types 'pointer to int' and...
|
|
2 |
82 |
|
|
by fastest
Dear All,
Im experiencing some problems with the dynamic allocation of a matrix, in fact the problem is a little bit more complicated: I come to the details.
I want to read matrices from several files and perform some statistical analysis on those data.
So I created a list of files which should...
|
|
4 |
96 |
|
|
by nishu1988
I am just speculating my imagination that whether at all, is it possible to build a universal compiler....??
For example, if i am programming in c( I use turbo c++ 4.5), is it possible to embed java code and some other language so that when the program gets executed....the java code gets executed...
|
|
10 |
267 |
|
|
by d0ll3rb1ll
I am creating a program to show a person monthly payments they need to make on their loan. I am having problems with getting a value besides 0 to stick to i and balance, because of this when the loop runs the amount of balance, interest and prin stay the same. Hoping someone can point me in the...
|
|
2 |
82 |
|
 |
by iblink
Hello. I have declared a structure array of a defined structure. Now i want to know how to find the number of entries i have in the array. The array is below.
#define MAXEMPLOYEE 300
int main()
{
struct employeeInfo{
int depCode;
int empNr;
char firstName;
|
|
5 |
124 |
|
|
by d0ll3rb1ll
I need a loop that will increase a variable start_pop by 10% each time and stop when it is larger than end_pop. While I do this I need to increase another variable year by 1 each time the loop runs.
I got this but I doesn't do what I want it to do, hopefully someone can help me. Thanks. So if...
|
|
4 |
99 |
|
|
by d0ll3rb1ll
As stated I need to write a program that asks for a positive number and keeps asking until its gets one then it outputs the results. The results need to be outputted like below. Thanks. The asterisks are suppose to be spaces.
**1 2 3
1 1 2 3
2 2 4 6
3 3 6 9
|
|
3 |
113 |
|
|
by d0ll3rb1ll
I want to add the numbers between x and y and not include x and y. So for example if x was 5 and y 9 the sum would be 21. When I run the program the output is 0. Hopefully someone can help me. I use the gcc compiler.
#include <stdio.h>
int main (void)
{
double x, y, sum, z;
...
|
|
1 |
62 |
|
|
by nilusha6
I have a variable in header file something like,
typedef struct aa{
.....
type_of_variable **p_variable;
...
}aa;
Then i want to cast some other variable to, that pointer.
im getting that structer as a pointer variable in my function parameters.
|
|
2 |
98 |
|
 |
by iblink
Hello. While trying to initialize an array in c, i get this error "too many initializers". I do understand what it means but i need help solving the problem. this is my array below.
char arrmonths = {"January", "February", "March", "April", "May", "June", "July","August", "September",...
|
|
2 |
109 |
|
 |
by iblink
Hello. I am trying to read info from a file into an array of a created structure. After running the program on visual studio 2008, it gives me no syntax error but this dialog box appears "debug assertion failed". Can anyone look at my code and tell me the problem.. Thanks in...
|
|
5 |
197 |
|
|
by RahulJain83
Hi,
I am Rahul. We have a complete software written out (with n other shared libraries maintained by various other teams). The shared libraries are loaded at run time by the main executable depending upon what feature user wants to run. All across our code, we are using printf and fprintf to print...
|
|
2 |
127 |