Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~8K People Reached
Member Avatar for vijaykrishnabor

Swap 2 number without using third variable code do not use temp variable for swapping if the code was useful please let me know [code]#include <stdio.h> void main() { int a,b; printf("enter number1: ie a"); scanf("%d",a); printf("enter number2:ie b "); scanf("%d",b); printf(value of a and b before swapping is a=%d,b=%d"a,b); …

Member Avatar for Mayukh_1
-1
7K
Member Avatar for niehaoma

The purpose of this is to obtain a genuine critique of my source code (based on a fairly simple concept). I realize I may not have the cleanest implementation for testing for prime, due to the fact I am not an aspiring mathematician. I am interested on critique of the …

Member Avatar for hsetaknev
1
188
Member Avatar for fkcares

hi all, i want to be a specialist in computer and information security, but i need advice and suggestion on things i need to do to be a specialist in this area. any suggesttion would be appreciated

Member Avatar for niehaoma
0
93
Member Avatar for niehaoma
Member Avatar for niehaoma
0
103
Member Avatar for niehaoma

I have been playing around with Python, numPy, SciPy, and matplotlib for a few weeks now. I was wondering how easy (assuming it is possible) to utilize a waveform file (example: .lpf or similar scope-captured waveform file), and re-plot that waveform using matplotlib, etc. Anyone have experience doing this? I …

Member Avatar for niehaoma
0
71
Member Avatar for niehaoma

So, I am learning Python. To help my understanding, I was wondering how someone might make this code more efficient. Purpose: Take a 32-bit value (tempCode) and output each nibble. My way was to use a string, basically shifting out the binary value from bit 0 to bit 31 into …

Member Avatar for niehaoma
0
263
Member Avatar for niehaoma

Newbie. Sorry for lame question. I want to use each bit in an int (binary number) as a boolean. In essence (this is c"ish" pseudocode): [CODE] bitVal = 0x01F; // 32-bit value for(i=0; i <LIST_SIZE; i++){ if(bitVal[i] == 1) printf(List[i]) }[/CODE] So, for Python, I just need to know how …

Member Avatar for TrustyTony
0
122