15,550 Topics

Member Avatar for
Member Avatar for kiranroy

[B]I want to draw geometric diagram like straight line,triangle,circle etc using C language.I want some help for coding n algo....:)[/B]

Member Avatar for kiranroy
0
101
Member Avatar for arun_taurean

Hi cryptographers, I'm currently working on AES.I have got codes for Encryption and Decryption separeately.But my problem is that i want to use a single function that is able to do encryption and decryption.If any codes available,please send it.

Member Avatar for arun_taurean
0
415
Member Avatar for chenka

Hello I would to convert String number="((5+5)*6)/2" to integer because I get value from read file and keep in string Help me please. T_T

Member Avatar for dkalita
0
79
Member Avatar for dreamsky999

Hello guys. I would require a little help here in my codings. The program is basically calculating the parking fare for customers who park their cars in a parking lot. In function 'void calc_rate(int ,int, int , int ,int,int, int)' At line 95, it shows a function-definition is not allowed …

Member Avatar for charlybones
0
114
Member Avatar for rohitamitpathak

i m confused about sprint syntax- i need to create dynamic mysql query so i have to use it, when i take char * it shows a error while when i take char arr[100] (like this )it work fine.. i read syntax from sprint from multiple sites, and it make …

Member Avatar for rohitamitpathak
0
266
Member Avatar for Prisms

Hey guys I am currently writing a code that will take the user input of a number and convert it to its hexadecimal form with the use of Stack ADT. This is what I have so far and would appreciate any help. [CODE]#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "stack.h" …

Member Avatar for WaltP
0
232
Member Avatar for rjbrjb777

helo, my file r.csv is as follows 07 02 2011 09 05 2011 .. .. i don't know what is error. but the function is not being called.. [CODE] #include<stdio.h> #include<stdlib.h> #include<math.h> #include<conio.h> int calday(float,float); int main() {// main start FILE *in, *out; char *rdf,*wdf; char day[10],mon[10],year[10]; float Day,Mon,Year; rdf="A:\\r.csv"; …

Member Avatar for rjbrjb777
0
160
Member Avatar for geoffy0404

so this is my final grade calculator that i turned in, and my teacher came back and said my IF/ELSE structure was Malformed, Is there something i did poorly, or wrong, what can i do to make it better. any suggestions will be taken accounted for [CODE]#include <stdio.h> int main() …

Member Avatar for abhimanipal
0
217
Member Avatar for rohan_k

Hi... i have A File And I Want to read the file and store all of its data in a single file what should i do... Please help.... A C Code Snippet would be very helpful

Member Avatar for abhimanipal
0
243
Member Avatar for ticktoc09

My program is just a simple Quiz game (100% running) w/ 50 questions. My question is do i really need to flowchart all 50 Question? All 50 Questions got the same format. Printf, Input Answer, If,else if statement and so on. I hope you can help me and give me …

Member Avatar for WaltP
0
84
Member Avatar for hohoho89

Ok so now be patient and respectful because this is the first time I've used ncurses. But here's my story. I'm making a application using the ncurses. and I just realized one thing. Whenever I used initscr(). I get approx over 70 000 memory leakage. Any suggestion on what I …

Member Avatar for hohoho89
0
2K
Member Avatar for nory22

hi there am wondering about the space between the [COLOR="red"]"[/COLOR] and the [COLOR="red"]%[/COLOR] scanf([COLOR="red"]"[/COLOR] [COLOR="red"]%[/COLOR]c",&choice); what's the different if i leave no space?

Member Avatar for Narue
0
133
Member Avatar for n3red

So here is my code: The purpose of this code is to take all the plain text in all capital letters in the vitranc.txt file and turn them all in to lowercase characters. Now to my knowledge i can do this with "tolower" function but: when i add tolower in …

Member Avatar for gerard4143
0
106
Member Avatar for moroccanplaya

hi i am just wondering how would you send a website through a socket as i am trying to make my own web server. do you just open up the file, read the file and write out to the socket ? [CODE] openfile = open(home/username/www/index.html, "r"); n = read(openfile,buffer,256); n …

Member Avatar for moroccanplaya
0
79
Member Avatar for nory22

Hi there i have wrote a program ,The user can only Choose the letter S for square or R for rectangle.. i have done every thing as you can see ... the only problem that am having is if the user puts 's' small letter also 'r' small letter .. …

Member Avatar for Arbus
0
184
Member Avatar for nory22

Hi There PLease i Need Help>>>> :) [COLOR="Red"]can any one Write me a program to do the following[/COLOR]..?PLzzz It costs 1.500$ for each 20 minutes traveled by taxi. Enter the rate at which the driver is driving along with the distance that is to be traveled then calculate the amount …

Member Avatar for nory22
-1
201
Member Avatar for iammirko

Hi, I am trying to learn winsock programming using online tutorials. This example is from the MSDN library, although modified. I have compiled it and it seems to be working fine for only one request. After handling a single request the server exits. I have read handling multiple request and …

Member Avatar for Ancient Dragon
0
320
Member Avatar for arun_taurean

Hi guys, I'm looking for AES equivalent inverse cipher...Has any one worked on it.. I need a c code for it ... please it's really very urgent..

Member Avatar for jnawrocki
0
1K
Member Avatar for george61

Here is code for hexagonal and pentagonal numbers. I need type that stores something bigger than 10 billion. Double works fine to about 8.4 billion. Of course I tried using long long and unsigned long long but it's still not working. Please repair this code because it overflows now matter …

Member Avatar for iammirko
0
386
Member Avatar for Wheaties

I'm not sure what the technical term for this is, so that's why I left the title as general as possible. So, I'm trying to write a program(in C) that will basically allow me to "customize" the size of an already defined array. This would be something done at the …

Member Avatar for WaltP
0
221
Member Avatar for *Java*

how can I run an external program like ( word , notepad ,... )In C ? and how can I set a certain size of the window of the external program like ( 300 * 300 ) ?

Member Avatar for Ancient Dragon
0
282
Member Avatar for chester1908

Heyz all.Im working on a program to add,sort,search etc contact struct (name last name number..).So i add structs and i sort them with qsort (i print the result,they are sorted).I have problem using bsearch(),it keeps returning NULL (so i see printed "not found"). The error must be something with the …

Member Avatar for chester1908
0
382
Member Avatar for pseudorandom21

Is there a way to store binary code in memory (as a value) then execute it? For instance if I have an array of bytes I have filled with the binary code of say, a .exe, is it possible to execute it?

Member Avatar for gerard4143
0
3K
Member Avatar for pikachoo

Hello, Is there any tool or anything that can detect errors related to the usage of not allocated memory? For example the code could look like this: [CODE]... char* myptr1; ... char* myptr2=""; ... strcpy(myptr1, "My text"); ... strcpy(myptr2, mystruct.mystring); ... [/CODE] The main problem is that there are lots …

Member Avatar for L7Sqr
0
77
Member Avatar for hket89

Write a program for the following problem. An instructor needs a program that accepts a student identification number and three test scores, test1, test2, and final_test as input, and determines and outputs for each student the semester average and the final letter grade according to the following scheme: SEMESTER AVERAGE …

Member Avatar for dani_277
0
267
Member Avatar for Stefano Mtangoo

Hi, please help me with error. I want to run simple project below. I have a lot of errors below and don't know how to fix it. I use GCC port (Mingw) [CODE=C++]#include "mysql/my_global.h" #include "mysql/mysql.h" #include <stdio.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for shinsengumi

Can anyone tell me what's wrong with my program below? I'm creating a program that writes every character(byte) from a buffer to a FILE until the number of bytes written is equal to the size of the buffer. [CODE] char *next; int character; int byteswritten = 0; next = buf; …

Member Avatar for shinsengumi
0
217
Member Avatar for alexa868

Hey guys, I'm trying to write a gradebook program in C but I can't get to validate the grades... help please! [CODE]float notas[5]; int x=0; char opcion1; for(x=0; x<5;x++){ do { printf("Ingrese nota %d: ", x+1); scanf("%f", &notas[x]); } while (notas[x]>100 && notas[x]<0);}[/CODE] The user must enter 5 grades. If …

Member Avatar for WaltP
0
96
Member Avatar for efronefron

Hi this is an assignment for my computer science lab. It is weird because if I compile and run with my c compiler from ubuntu gcc4.4, it works perfectly. But if I compile with the university's server (I connect with SSH) it messes up The main purpose of the program …

Member Avatar for efronefron
0
274
Member Avatar for jayzee1989

So yeh, I'm kind of new to c :). So, as far as I know, and array initialized to 0 will stay at 0 unless something is stored by some other function or command. so I have and array here(imgSet) that when I tell my program to print out elements …

Member Avatar for jayzee1989
0
144

The End.