15,551 Topics
| |
Hi, I have a small problem after working on my program last night i found out that C does not have any function that uppercase first character in a word. So i have been trying to split each word in to characters and uppercase the first word but it keeps … | |
[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] | |
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. | |
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 | |
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 … | |
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 … | |
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" … | |
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"; … | |
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() … | |
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 | |
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 … | |
| 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 … |
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? | |
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 … | |
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 … | |
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 .. … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 ) ? | |
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 … | |
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? | |
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 … | |
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 … | |
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()); } … | |
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; … | |
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", ¬as[x]); } while (notas[x]>100 && notas[x]<0);}[/CODE] The user must enter 5 grades. If … | |
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 … |
The End.