| |
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,223 |
|
|
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 |
54 |
|
|
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 |
236 |
|
|
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 |
52 |
|
 |
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 |
79 |
|
|
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 |
83 |
|
|
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 |
69 |
|
|
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 |
49 |
|
|
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 |
61 |
|
 |
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 |
71 |
|
 |
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 |
111 |
|
|
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 |
82 |
|
 |
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 |
82 |
|
|
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 |
398 |
|
 |
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 |
144 |
|
|
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 |
135 |
|
|
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 |
125 |
|
|
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 |
132 |
|
|
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 |
105 |
|
|
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 |
301 |
|
|
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 |
164 |