| |
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 Zexion
So, here's the deal. I have a school project, part of which is being able to construct your own bitmaps, including header a all, straight through binary write to a file.
Our first assignment is to read and flatten a 512x512 24-bit Lena into a 1-dimensional char array of appropiate length, in the...
|
|
1 |
216 |
|
|
by swathin2
how can we know whether a particular file is read or not using c programming.
for an example:
the file name = abcd.txt
the status of the file should be 0 if the person has not opened it and it should be changed to 1 after any one reads it
how can we do this
|
|
1 |
85 |
|
|
by swathin2
Hello,
if the account number is "abcd" then i need to have to check whether "abcd1" or "abcd2" or ...... is existing or not.
if it is not existing then i need to create it.
so how can i do this
any suggestions
|
08-Sep-2009 05:08
by L7Sqr
|
2 |
99 |
|
|
by 3elwa
hey guys
i want u to recommed some books
i dont know much but me and my colleages started this project and we want to apply it to a robot
what we want to do is to use a camera to take a photo and then we it recognize the object that we show it then it compares it with the pictures that we...
|
|
1 |
111 |
|
 |
by aijazbaig1
Hello,
I am trying to write a snippet which deletes a given node in a linked list. The snippet reads:
typedef struct node {
int num;
struct node *next;
} Node;
int delnode(Node **p_strtlst,int elmt)
|
|
1 |
192 |
|
 |
by jecco9
I'm writing a code to analyze some data. I pretty much finished writing it, but at least one of the calculations is being done incorrectly. It then cascades down to the rest. The line that is giving me trouble is as follows:
Sa0 = V0*(1+(R*T0)/(V0*V0))*(1/32.17); /* Stream thrust function at 0...
|
|
6 |
206 |
|
 |
by koool_kid
I need a program in simple C language for generating perfect numbers or checking if the entered number is perfect or not. It is needed urgently.
A perfect number is one whose sum of factors is equal to the number, like 6. 6 has 3 factors 1,2,3 when we add 1+2+3 it is equal to 6; hence 6 is perfect...
|
|
13 |
16,879 |
|
|
by azrella
I get the following message when I log in my application: SOAP Server Error at soap:Server: dlopen failed for library "/tmpsort/soapsrvr/libsoapUnloadClaim.so.20418": ld.so.1: soapsrvrP: fatal: relocation error: file ../ubin/libevs.so: symbol c_is_mc_eligible_3: referenced symbol not found
The...
|
|
1 |
213 |
|
 |
by doubty
My problem is as below:
I have a formula say b= a/b+c*d/d+e*c/d-f*h/g etc (can be any such huge formula)
and i need to rename the subformulas so that the formula size becomes smaller.Also it is better if positive/negative subformulas are grouped together.
i.e say i have a cut of of number of...
|
|
1 |
103 |
|
|
by clueless
I am trying to pass a 2D array (from VB) into a dll I wrote in C. The problem is I don't know the correct syntax to pass 2D arrays. I've tried every combination of *,**,,and I can think of but still can't figure it out. :? I've looked at a lot of info on the Web and in print materials, but...
|
|
5 |
247 |
|
|
by Pefectionist
Objective: Input: "This is funny" "end (signals as stop)" Output "The longest string is: funny"
#include "simpio.h"
#include "genlib.h"
#include <stdio.h>
#include <strlib.h>
#include <string.h>
#define strEqual strcmp
|
|
8 |
314 |
|
|
by moonlight2009
I've been working on this program for quite sometime but there are so many errors. I've implemented a quicksort and a binary search. The quicksort runs but crashes and the binary search doesnt run.:( I feel like this>>:hair:
#include <stdio.h>
#include <stdlib.h>
#include...
|
|
4 |
245 |
|
|
by Howard_L
I have wondered about this and thought I'd ask.
I guess it would depend on what you were doing in the program that you wanted to 'undo'.
A huge example would be say in a graphical window program like Firefox where you can udo all kinds of stuff from the text changes in this box to the url...
|
|
7 |
307 |
|
|
by Pefectionist
I'm kinda stuck with how to start this code. Well. most stuck with how to make a table and all really
Write a program that displays the scores of the basket balls games for 1 season.
The table should include the following information ( in separate columns),
name of the basket ball league,
number...
|
|
1 |
148 |
|
|
by fairytales247
I have been trying to understand how pointers are passed in a function which unfortunately the book that I am referring to doesn't completely explain for a dummie like me. Could you please help me simplify the things.
Here is a part of the code that will be of concern:
.....codes...
bool...
|
|
3 |
189 |
|
|
by fairytales247
As doing this pointer thing (which has made me realize the power of C over Java) i think i am understanding but at times it just pisses me off as i can't find the solution to some confusing porblems. Here is one that has been troubling me for a while, actually 2 days. Plz Plz enlighten me anyone...
|
|
3 |
205 |
|
|
by adibo
hi guys
i need to build a binar tree from a file.
i have a function that i must use
(Void initInventory(char *invFileName, double bal, chemTree *invTree)
the problem is whem i finish to build the tree and return to the menu the tree is empty again.
when i change the function to
chemTree*...
|
|
3 |
161 |
|
 |
by aijazbaig1
Hello,
I was reading this famous C faq by steve summit where it was said that it is impossible for a function to return a pointer which points to a function of the same type. Mindboggling :hair: ? betcha!
nonetheless it also suggested 'wrapping' a struct around such a function and then returning...
|
|
1 |
208 |
|
 |
by fairytales247
Well the author of the book prefers to use malloc() in a program to find prime numbers.
Since we don't know initially how many prime numbers the user wants, the author wants to allocate memory using malloc()
But the same thing could be done using an array.
I am just a beginner so don't know the...
|
09-Jul-2009 08:41
by L7Sqr
|
4 |
256 |
|
 |
by fairytales247
Here is my program written in Dev C++. I don't know what could be the problem. Please anyone help me. I am a novice in C.
#include<stdio.h>
int main(void){
char playAgain = 'n';
do{
|
|
4 |
272 |