No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, Im trying to make a caesar cipher, but a windows error comes up when running. Where have I gone wrong?? Sam [CODE]///////////////////////////////////////////////// /// /// /// NAME: SAM BERWICK /// /// DATE: 18/11/2010 /// /// PROJECT: CAESAR CIPHER /// /// /// //////////////////////////////////////////////// #include <stdio.h> /// Stand In/Output #include <string.h> /// … |
|
Re:
So basically it involves sodding scanf(). [CODE]int NumericalAnswer; int score = 0; main() { printf("Question 1: What's 4 x 3?\n"); scanf("%d\n", &NumericalAnswer); if (NumericalAnswer == 12){ printf("You got it right!"); score += 1; } }[/CODE] Output [ICODE]Question 1: What's 4 x 3? 12 9 You got it right![/ICODE] As you … |
|
Re:
I wrote a short piece of code to give me a .dat file for use in another program. But i cant figure out what is wrong. I run on a mac, and use Xcode. [CODE]#include <stdio.h> #define ARRAYSIZE 1500 #define BINDATA "file://localhost/Users/Hub/Desktop/231A4binData.dat" int main (void) { int i; double dblData[ARRAYSIZE]; … |
|
Re:
Hi, Can anyone explain in detail what is the difference between int *a and int* a? Is there any difference between them? |
|
Re:
why variable can't add number as suffix like: [CODE] int 3a[/CODE] |