| |
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,247 |
|
 |
by preetpnd
Sometimes it so happens that while executing the program for the result the o/p is continuous or gets stuck in the DOS shell.
my Question: Is there any command to quit this shell and return to the main program or C shell directly.
|
|
3 |
103 |
|
|
by chekers
anyone can help me to convert this c coding to a structure...i dont know how to do it...Plz help me....
#include <stdio.h>
#include <string.h>
void input_name(char name, int stud, float mark_cs1, float mark_cs2, float mark_cs3,int ch_cs1,int ch_cs2,int ch_cs3,float gpa);
void input_mark(float...
|
|
23 |
438 |
|
 |
by aijazbaig1
Hello folks.
been trying to delete a node from a binary search tree (sorted tree that is). The delete does not work as expected.
Heres the code:
#include<stdio.h>
#include<stdlib.h>
struct node{
struct node *right;
|
21-Oct-2009 06:11
by L7Sqr
|
1 |
241 |
|
|
by tbites
Hello all,
I am new to this forum. and want to thank you for having help for coding.
I am not a mooch. I like to try my hand at my code first. Then get some help.
What I am trying to do is practice pointers to a function.
Below I compiled it but it doesnt display the length of the string?
I want to...
|
|
10 |
147 |
|
|
by chekers
Dear friends,i've done a project for my course.Its about employee salary deductions...my only problem is the coding is working but its not doing the deduction and give the balance of a salary for an employee....plz help me plz..
this is the code:
#include <conio.h>
#include <stdio.h>
int main()
{
...
|
|
5 |
139 |
|
|
by salvate_me_plz
Ok the story goes when i receive my assignment in school, it's a assignment of key lock C programming.. and it due on 15 of Oct 2009, someone plssss help me with it, i do half, and i stuck in reading the text file, i can read it but i can't use loop to read all of the data in the text file, SOMEONE...
|
|
3 |
149 |
|
|
by gandalf215
Hello,
I have this problem: Given an array, his lenght and a numer (sum), in output the alghoritm must return all the way to obtain that sum.
For example:
8, 11, 8, 7, 7, 6, 5, 4, 3, 2, 2, 1, 1 (where the first 8 is the sum to obtain and 11 is the number of the elements).
Output:
8
|
|
0 |
117 |
|
|
by FAT TONY
Hey there.. I'm have to finish a program for tomorrow. What I got to do is this:
The guide will put a number between 1 and 10000
I need to find all primes into the number he put, not print, but save them and print the biggest primes of this primes and the second biggest.
For example the guide...
|
|
2 |
355 |
|
|
by Mt570
Hey I have to write a C program that is a linked list of customer data, with various functions.
The function I'm having trouble with is the insertAtIndex function, this function needs to insert a new customer data at the location indicated by the parameter "index". If index is 0 then it should be...
|
|
5 |
188 |
|
|
by gabatwork
Dear all I am a new user with some problems in programming.
I wrote a simple programme whose goal is to perform a data analysis to find some outliers. Everything work good except when I come to writing the remaining data into a file: it takes really a lot of time (almost 7 minutes).
So I tried a...
|
|
4 |
119 |
|
|
by noname007
Hi,
I am new to programming in C. I have to create a unix shell that can implement 1. basic commands such as ls, pwd, mkdir etc
2. can implement redirection
3. pipelining
Any help on where to start from or source codes will be appreciated
Thank You
|
25-Sep-2009 14:03
by L7Sqr
|
4 |
227 |
|
|
by veda
Hello,
I am trying to run the following code (on a NDS gameconsole) but it doesn't run for some reason. Can anyone tell me what i am doing wrong?
struct node
{ char title;
char description;
char datum;
};
|
|
1 |
156 |
|
 |
by MrWannabe
I'm having some problems in an assignment of mine.
The assignment is as follows: with a limited number of legal operations, perform various functions. No conditionals (if's) nor loops are allowed at all.
The legal operations are: <<, >>, +, |, ^, &, ~, !, =
I managed to do some of them, but...
|
|
5 |
323 |
|
|
by Automatik
How would I go about scanning my computer to find attached USB devices using C++.
Any Ideas?
|
|
18 |
11,680 |
|
 |
by WaltP
I just posted a GID Community blog entitled: Things to Avoid in C/C++ -- system("pause"), Part 4.
Please let me know what you think.
This is an auto-generated message posted by GIDNetwork™ on behalf of the author.
|
|
17 |
15,879 |
|
|
by pratikasthana17
Your program should print the contents of a 2-dimensional array in spiral order. Suppose your array is
1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18
19 20 21 22 23 24
The output should be:
1 2 3 4 5 6 12 18 24 23 22 21 20 19 13 7 8 9 10 11 17 16 15 14
Your program should take m and n as...
|
|
3 |
255 |
|
|
by pratikasthana17
Hi All,
program should read a file and print the lines in reverse order to another file, using recursion.
For example, if you have a file with the following contents:
Hello,
Let us have fun doing the homework!
Bye,
Nalini
|
|
3 |
123 |
|
|
by pratikasthana17
Need to write program for show day for particular date
like when i pass Input 12-18-2009 Ouput will be It is a friday!.
The input is in the following format: mm-dd-yyyy
The date could either be in the past or in the future.
Thanks in Advance
Pratik Asthana
|
|
6 |
192 |
|
|
by fiendslyr
I am trying to create a program, in c, that will do that following:
It displays "Enter the operation of your choice: a. add s. subtract m. multiply d. divide q. quit"
It asks for the input from the user and then asks for 2 numbers and then executes the operation chosen by the user.
I have no...
|
|
5 |
147 |
|
|
by Howard_L
Hi , this is probably dumb but I can't think of anything and you guys are hungry! so
How can I get a value from my shell into my program?#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char buff= {0};
printf("Print SHELL and env_var: \n");
|
|
4 |
229 |