Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
19% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
4
1 Commented Post
~34.3K People Reached

37 Posted Topics

Member Avatar for mtatadotcom

I'm not sure of your problem, but the only compiler errors I see are the clrscr() (not really a "c" function. That said in testing I found errors after Withdraw and Fast Cash. After Withdraw you display a balance of 0 (zero). After Fast Cash you display a balance of …

Member Avatar for chandrasekhar77
0
6K
Member Avatar for khgibson

Certain virus programs stop your internet access by setting the "use proxy server for your lan connections" option. Turning this option off will usually correct the problem.

Member Avatar for rodri.lopez.731572
-4
7K
Member Avatar for pittdaniweb

wow "for" is a complete loop control statement. for(assignment component; test component; indexing component) i.e. for(int i = 0; i < 10; ++i) "while" is a limited "for" while(test component) i.e. while (i < 10) You could code while (i++ <10) but that would be rather convoluted.

Member Avatar for rajii93
0
813
Member Avatar for elouch

I am not sure I understand. It seems like you could just start outlook, Hi-lite personal folders and create the folder structure you need. Then Hi-lite inbox and drag the messages from inbox to their respective folders/subfolders>. not sure I understand. It seems like you could just start outlook, Hi-lite …

Member Avatar for elouch
0
509
Member Avatar for ReaseySo

Cool but probably slow to execute due to all the math. Seems like handling it as an array of characters and using xor swap would be faster.

Member Avatar for jnawrocki
0
471
Member Avatar for vegaseat

// On what day were you born? #include <stdio.h> #include <conio.h> #include <iostream> #include <fstream> using namespace std; long jd(int y, int m, int d); void main() { int Year, Month, Day, DayOfWeek; long Julian; Year = 2001; // If only one time doing might I hard code the date …

Member Avatar for jnawrocki
3
1K
Member Avatar for tformed

Seems to me I remember that you can estimate the square root by subtracting consecutive odd integers and counting the number of subtractions until you get to zero or less. If less than zero extrapolate to get the final answer.

Member Avatar for vmanes
0
3K
Member Avatar for Dani
Member Avatar for L7Sqr
3
1K
Member Avatar for jnawrocki
Member Avatar for complete

I think there is a free version "Visual Studio Express". It is not supposed to be used for commercial applications.

Member Avatar for jnawrocki
0
140
Member Avatar for hastingo

Try: http://www.codeproject.com/Articles/2353/Model-View-Controller-MVC-Using-C-Delegates-and-Ev

Member Avatar for hastingo
0
2K
Member Avatar for thejokerguy

Simple. A matrix is made up of rows and columns. Given a matrix with 3 rows and 3 columns: 1 2 3 4 5 6 7 8 9 After transpose you have: 1 4 7 2 5 8 3 6 9

Member Avatar for avnish.singh5
0
7K
Member Avatar for now how abt tht

Maybe this will clear it up: [CODE]void main(void) { int *p, i; // integer i & uninitialized pointer to an integer *p i = 10; // put a value in i p = &i; // initialize the pointer *p to the address of i printf("%d\n",*p); // printf the value stored …

Member Avatar for jnawrocki
0
132
Member Avatar for shadowscape

Please define original state? Are you attempting to decrypt previously encrypted data? If so please post the encryption code or at least a copy of the data.

Member Avatar for nmaillet
0
127
Member Avatar for amrita111

First the post-increment p++ has no effect because it happens after the function. Second ”,++*(p)); // got rid of post-increment but still invalid memory write and system crash. If you want to print the second character and, for some reason, do not want to code the standard p[1], then move …

Member Avatar for jnawrocki
0
99
Member Avatar for DJSAN10

Older "C" compilers actually converted "C" source to assembler source and then assembled and linked the code to create the final object.

Member Avatar for DJSAN10
0
161
Member Avatar for rjbrjb777

In this code, calay is definately being called. calday might be a good place for switch/case.

Member Avatar for rjbrjb777
0
162
Member Avatar for arun_taurean

Here's java script for straight-up AES. It should be easy to converted to C. It is not inverse but there are plenty of explainations on the web. [url]http://www.movable-type.co.uk/scripts/aes.html[/url]

Member Avatar for jnawrocki
0
1K
Member Avatar for jayzee1989
Member Avatar for zetologos

Change: char bin[8] = {'0', '0', '0', '0', '0', '0', '0', '0'}; To: static char bin[8] = {'0', '0', '0', '0', '0', '0', '0', '0'}; So that the variable hangs around after the function ends.

Member Avatar for jnawrocki
0
130
Member Avatar for fazdhli

If I understand correctly you can't print tax because, in the function orderMeals(), the lines that print it are commented out. Even if it weren't it would not print anything because tax is initialized with taxAmount and taxAmount is not initialized with anything. Also the same for totalAllManu. Finally, tax …

Member Avatar for jnawrocki
0
183
Member Avatar for geoffy0404
Member Avatar for mtatadotcom
0
97
Member Avatar for cpiody

Looks like you only get one character at a time so character[i+1] and character[i+2] are not loaded from the file. Unless 'E' can exist somewhere besides the end of good data, just checking for 'E' will make it work. Why not leave END out of the file and use the …

Member Avatar for cpiody
0
108
Member Avatar for atticusr5

The goto after a miscompare seems un-necessary. I might be tempted to move the read file, get search name, inside the while loop. This would eliminate the need for the redundant code at END: If you simplify the code in this way it will be much easier to follow the …

Member Avatar for atticusr5
0
110
Member Avatar for samhitha.44

You might try: [url]http://www.thefreecountry.com/sourcecode/cpp.shtml[/url]. Also search for "open soruce C code"

Member Avatar for jnawrocki
-1
269
Member Avatar for b56r1

0xff in the extended ascii table is displayed as 'ÿ'. In some cases you can enter it from the keyboard by holding dowm the Alt key and entering 255 on the numeric key pad.

Member Avatar for b56r1
0
118
Member Avatar for programmer4life

I'm not sure but I do not think "char *input" reserves any space for input just defines a pointer. so as soon as typing starts you are writing into a undefined memory location. You would most likely receive some kind of runtime error.

Member Avatar for chrjs
0
715
Member Avatar for fuller
Member Avatar for jnawrocki
0
109
Member Avatar for b56r1

I suspect it has something to do with how your compiler handles the different types of variables. Both static and global variables remain intact for the entire run of the program. On the other hand local variables are allocated on the stack and remain intact only during the current execution …

Member Avatar for pheininger
0
110
Member Avatar for Soup!

I'm not sure but it looks like all your for loops are using "i" as an index. Maybe you should use i1,i2,i3 or something.You are also using a secondary index j but I do not see where j is initialized. Finally I think your file problem might stem from c:\\. …

Member Avatar for jnawrocki
1
207
Member Avatar for slygoth

I don't think it is all that hard. Try something like this. [code=c] #include<stdio.h> #include<string.h> #include<stdlib.h> #include<conio.h> #define backSpace 8 #define newLine 13 // you can make it better by passing the length of the password // and testing for the length as well as newLine. int GetPassword(char *str); void …

Member Avatar for Arbus
0
335
Member Avatar for slygoth

I would just bitwise "or" with 0x20 (ie. a |= 0x20;) . If 'A' it becomes 'a'. If 'a' it stays 'a'.

Member Avatar for jnawrocki
0
167
Member Avatar for Ajinkyanaik

[code=c] #include <stdio.h> #include <stdlib.h> #include <String.h> void DropMiddle2(char *Orig, char *New); void DropBlanks(char *Str); void main() { char Number[9],NewNumber[9]; strcpy(Number, "12344321"); printf("Orig %s\n",Number); for(int x = 0; x <3; ++x) { DropMiddle2(Number,NewNumber); printf("%s\n",NewNumber); DropBlanks(NewNumber); strcpy(Number,NewNumber); } } void DropMiddle2(char *Orig, char *New) { int lengthorig = strlen(Orig); int lengthnew …

Member Avatar for jnawrocki
-1
108
Member Avatar for Ajinkyanaik
Re: KBC

You can get the code here: [url]http://webscripts.softpedia.com/script/Games/KBC-Quiz-23899.html[/url] It is for Turbo C++ but should be easy to modify to any compiler.

Member Avatar for jnawrocki
-2
82
Member Avatar for Ritesh_4

I use PrimoPDF. It is free and creates a Windows printer. Any document you send to this printer ends up as a .PDF file. Check out ---> [url]http://www.primopdf.com/index.aspx[/url] .

Member Avatar for Ritesh_4
0
120
Member Avatar for DecreaseEntropy
Member Avatar for cpp.coder37

The history of operating systems and their kernel designs might be an interesting project. This could turn into a very large undertaking what with IBM, DEC, Data General etc. Might be less stressing to concentrate on micro computer operating systems. You could get a pretty good story if you look …

Member Avatar for abhimanipal
-2
63

The End.