Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~7K People Reached
Interests
Assembly, Scheme/Lisp, C/C++ and Python. Want to learn Haskell and Scala
PC Specs
MOS Technology 6502 (Bender and Terminator have it too)!
Favorite Tags
Member Avatar for Ian Woodgate

Hi all I've been asked to write a C++ program that the user enters a five digit integer. The program then needs to return how many zeros in the number, how many odd numbers and how many even numbers. I've set it up to %2=0 and %2!=0 to determine if …

Member Avatar for profyou
0
131
Member Avatar for ModernC++

In this game, post confusing or hard to understand code, and the reader will try to figure out how it works. I will start with a small C++ program that uses #define's. #include <iostream> #include <string> using namespace std; #define FUNCTION(?????) ?????? FUNCTION(inline, int, hello, for(int d = 0; d …

Member Avatar for Cross213
0
150
Member Avatar for I_m_rude

hi.... int x=30, *y,*z; y=&x; assume x address is 500 and int is of 4 bytes z=y; *y++=*z++; x++; printf("%d %d %d",x,y,z); i want to ask that how the value of y is 504 here ? firstly value of z is assigned to value of y. then z is incremented …

Member Avatar for I_m_rude
0
194
Member Avatar for I_m_rude

hi, int fun(int(*)()) { ....... ....... ...... } int main() { ....... ...... ....... fun(main); ........ ........ } my question is that how can we use "main" (only name without parenthesis) as the pointer to a function ? because main() is a function. I am not getting it how is …

Member Avatar for deceptikon
0
111
Member Avatar for ska_defender

I am trying to use bad words filter but I want to load the bad words from a txt file on my server but some how failed to do so.here is my bad words filter code function badWordFilter(&$text, $replace) { $patterns = array( '/butt/i', '/poop/i', '/crap/i' ); $replaces = array( …

Member Avatar for diafol
0
777
Member Avatar for nekoleon64

Hello my name is Leonard E. Norwood Jr. I haven't been back much but I'm still studying and practicing C++ I'm still doing arrays starting from beginning to better get used it it. Anyway, it's a simple program of finding the largest number of the 10 numbers. I know my …

Member Avatar for WaltP
0
3K
Member Avatar for shibu2all

Hello, can anyone suggest me how to execute graphics programs(such as DDA line algo) using GCC compiler under windows? graphics.h is a part of turbo c and is not available in gcc.. so is there any way to do this??

Member Avatar for Schol-R-LEA
0
152
Member Avatar for capton

Please i want to know if in a dual-boot system, having installed grub and MBR on different partitions,I would have the chance to select which bootloader should be the default at any point in time. In other words,can i set grub to have a higher priority than MBR in such …

Member Avatar for mike_2000_17
1
347
Member Avatar for valestrom

I kinda want to code in binary just for the fun of it. But I have no idea how to compile my code. Anyone know how?

Member Avatar for ModernC++
0
2K