ok, i decided to change my encryption algorithm and i'm trying to use a basic rot13 function.......here we go
#include <stdio.h>
char filen;
char rot(char ch);
main(void)
{
FILE *fp;
char...
Type: Posts; User: AsmLover
ok, i decided to change my encryption algorithm and i'm trying to use a basic rot13 function.......here we go
#include <stdio.h>
char filen;
char rot(char ch);
main(void)
{
FILE *fp;
char...
I havn't programmed in ages and need some help plz, i needa write a function that scans all the characters in a text file and converts the characters into binary with this form of 8 digit format like...
i think he was just trying to imply feel in that for w/e the buffer size should be.....my guess, i was messing around just now with the weakness's of gets() and i used this code
...
this may be my compiler again but
should be
if(fgets(word, sizeof(word), stdin, != NULL) {
i believe
haha, yea Miracle C is no Miracle, the debugger doesn't help me at all :(, well i used to have linux on my system so i used GCC, what would you reccomend for xp?
when i try and compile your code it says
but my code works perfectly when i compile it :), that's odd
i don't know if this exactly what you want but it takes a input and prints it 10 times --you can replace gets with fgets() if ya want
#include <stdio.h>
int main()
{
int word,i;...
int add(int addx, int add_y);
I believe you want that first variable to be add_x.
I'm really new to C and was wondering if you guys could help me find maybe a better or more efficent way of writing the code i just made, it's a program that'll take input from the user in the format...