| |
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...
|
11-Oct-2012 08:35
by WaltP
|
3 |
7,921 |
|
|
by badloy1135
I am doing a machine program for C but I don't know how to create a graphical output. could you help?
thank,
Loy ;)
floworks
|
|
3 |
100 |
|
|
by badloy1135
can you help me how I am going to make a tokenizer and parser? I am making my own language and I want a C type language and by doing that I must create my own parser and tokenizer. what will I do?
|
|
2 |
67 |
|
 |
by I_wanna_getc
Hi all! i'm kinda new to c but i really wanna get it, please tell me what i'm doing wrong. i was trying to write a program that asks the user for 3 number that would be added, i created a function to add the numbers but it wont run :(
#include <stdio.h>
#include <conio.h>
#include...
|
|
7 |
172 |
|
 |
by liveproject101
I am not so good in programming but wants to be perfect so use to try myself. I trap in some trouble while trying to run following program, and can't understand that where I am wrong. Some one please help me in finding out the error.
#include<stdio.h>
int main()
{
int i,n,a,b,flag,index;
...
|
|
2 |
119 |
|
|
by swarna.bhatt
Hi All ,
Below is a simple code implementation for string reversal .
#include <iostream>
using namespace std;
void main()
|
|
1 |
112 |
|
|
by swarna.bhatt
Hi ,
I am stuck with few doubts regarding arrays and pointers.
void main()
{
int arr = {0,};
int *ptr;
ptr = arr;
|
|
6 |
177 |
|
|
by noob
I have a big problem, my school program threw me into micro controllers without giving me a formal class on programming. I learned a little assembly but that's it. The project is to be done on the MSP430 microcontroller. I can acquire most any extra chips LED's or any other components to help with...
|
|
15 |
308 |
|
|
by devilishruby
PGM File
Hello,
i use two following functions to read a PGM file format(named pic1) and write it to another one(named pic2).
but i don't know why the pixels image in (named pic2) being disarranged and moved from the correct position and the
photo changed .
How can i solve this problem?
|
|
3 |
9,941 |
|
|
by swarna.bhatt
Hi,
I want to understand pointer to an array concepts .
void main()
{
int arr = {1,2,3};
|
|
1 |
126 |
|
|
by 1stFallen
I am trying to write a program in C that is to simulate the soda machine in one of the buildings at my school (yes this is a homework assignment). The input is to consist of lines containing the following: quarter, dollar, pepsi, dew, diet, pepper, mist, water, exit. The input represents the...
|
|
3 |
142 |
|
|
by chem
I am in need of help my assignment is due this Sunday.
I basically need to write a program where it reads an input file (input_data.txt) containing 5 rows. Each row will contain first name, last name, results from quiz 1, 2, 3, 4, a midterm and a final.
Here is the input file:
John Doe 1, 80,...
|
|
4 |
229 |
|
|
by tahir
My program is compiling but i cannot got the accourate result because i think so there is some mistake for returining the function value,Please correct it and send back to me.
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include <cstdlib>
#include <ctime>
#define ROW 10
#define COL 10
|
|
4 |
184 |
|
|
by afernando14
Hello, how are you all? , I've been trying to do this program in C:
Write a program that opens two files. The file names must be obtained through the Linux command line.
Have the program print line 1 of the first file, followed by Line 1 of the second file, the first file line 2, line 2 of the...
|
|
3 |
164 |
|
|
by Tryingtolearn!!
For a school work, I have to invoke this function to the main function but I am at roadblock.
I have to:
// gets an integer from the user and returns it
// make 3 calls to this function:
// get the length of the rectangle from the user and return it to main
// get the width of the rectangle...
|
|
1 |
174 |
|
 |
by aijazbaig1
Hello there.
Has anyone here attempted to cross compile the gnu C library (Glibc)?? 8)
Well, I am trying to do just that to accomodate a change we made to the underlying Linux kernel.
The first thing is to configure the build process by running the configure script found in the base directory...
|
|
5 |
208 |
|
|
by grf
Hi, i have some problems to assign the numbers in the file as the value of variables. I have the code to read the file, but i don't know how to assign the values.
My code is :
int time;
FILE *archive;
char caracter;
|
|
1 |
182 |
|
|
by refaelok
hello.
I exercise and I do not understand the concept of the solution.
Exercise wish to write Recursion function int check_zone (int matrix , int x, int y).
The matrix consists only of 0 and 1. Where 0 is a wall and one is beyond.
Function takes coordinates and prints the number of options to get...
|
|
1 |
198 |
|
 |
by yogesh4ever
Hello,
I have written c code for string reversal.
Program compiles without any error.
But it gives runtime error.
I am not able to catch the code in my error, Please help me.
The code is as follows.
|
|
2 |
193 |
|
|
by Nakz0r
i wrote a code for an assignment that requires generating random numbers ,
"
Write a program that uses random number generation to create sentences the program should use four arrays of pointers to char called article, noun, verb, and preposition. The program should create a sentence by selecting...
|
|
1 |
356 |
|
|
by 1stFallen
I hope this is the proper forum for this...I maybe should have posted in a Unix forum but here goes...
I was using a tutorial on gdb just to be able to better utilize it...
When I compile a random program with the -g flag and then I invoke the debugger with the command
gdb -q ./a.out
Then the...
|
|
1 |
180 |