# Search:

Type: Posts; User: datainjector

Page 1 of 15 1

## Search: Search took 0.01 seconds.

by datainjector
Replies
4
Views
904

### I want the loop to keep executing till cnt =...

I want the loop to keep executing till

cnt = 1 and remainder = 0

I am trying to do this .. suppose the user enteres a number 765

I will add up .. each digit .. 7 + 6 + 5 = 18
then again...

by datainjector
Replies
4
Views
904

### loop problem

The while loop in the program dosnt seem to execute ?

#include "stdio.h";

int main ()
{
int num , remainder , quo, cnt , sum;
cnt = num = remainder = quo = sum = 0;
3. ## Thread: using UML to plan C programs

by datainjector
Replies
4
Views
3,360

### wont you like need something called a flowchart ...

wont you like need something called a flowchart Flowchartand you could use Pseudocode

i use pseudo code alot and it helps very much .. Flowcharts will be if benefit to ..thou i havnt worke much...
4. ## Thread: Can a scanf function see a number input "1234" as 4 separate numbers?

by datainjector
Replies
31
Views
14,566

### ASCII MAGIC learn to make your code look...

ASCII MAGIC

learn to make your code look clean and smooth .. try smoking a blunt and being extra carefull with those identions
5. ## Thread: Question, Im very new

by datainjector
Replies
7
Views
1,154

### sometimes you need to run to learn how to walk

sometimes you need to run to learn how to walk
6. ## Thread: Can a scanf function see a number input "1234" as 4 separate numbers?

by datainjector
Replies
31
Views
14,566

### string "12345" into arrayStr[5] now ..i want...

string "12345" into arrayStr[5]

now ..i want to convert this into decimal ..

STRLEN arrayStr gives 5

arrayInt[5] = arrayStr[5] - 48

LOOP AGAIN

by datainjector
Replies
8
Views
1,088

### I think you need to look up the Truth tabels for...

I think you need to look up the Truth tabels for A?ND , OR and is there an XOR ?

well .. it seems that ..

if i entered 11 and 1

8. ## Thread: Structs, dynamic memory, and phone book entries

by datainjector
Replies
5
Views
14,497

### I once also did such a thing .. After having had...

I once also did such a thing .. After having had enought pills .. i wasnt satified as being a normal human ..so instead of proving to my self that the medication which makes me a zombie .. might not...
9. ## Thread: Need some guidance on a poker program

by datainjector
Replies
10
Views
3,752

### wish i had the older Deital Deital files on line...

wish i had the older Deital Deital files on line ..wait i might have it on here..thou dont expect it to be amything fancy ..it was code writting way back when i was much younger ..

...
10. ## Thread: C program to convert a decimal number to hex using masks and shifts

by datainjector
Replies
15
Views
10,064

### nope ..i cant sorry

nope ..i cant sorry

by datainjector
Replies
4
Views
1,256

### if you want to know how actually you C code is...

if you want to know how actually you C code is compiled and works with the processor ..

I would study assembly language and also some digital logic to get the feell of how its all working ...
...
12. ## Thread: C program to convert a decimal number to hex using masks and shifts

by datainjector
Replies
15
Views
10,064

### after each shift and mask ..store the values in...

after each shift and mask ..store the values in an array .. so if you get a decimal 10 .. use it as an Index into
arrayHex[15] = {1,2,3,4...a,b,c ,d,e,f}

then store that into another array .....
13. ## Thread: what language to learn for AI development and experiments

by datainjector
Replies
8
Views
3,601

### After reading that site i am more inspired to...

After reading that site i am more inspired to learn LISP .. i heard you could do about anything in LISP and the first time i tried out Scheme ..I was really impressed with the new way of programming...
14. ## Thread: what language to learn for AI development and experiments

by datainjector
Replies
8
Views
3,601

### what language to learn for AI development and experiments

I really would like to get into AI development .I think its a promisssing field ..i hear alot of people talk about LISP And Prolog for serious AI experiment and development..

what do you think ? i...
15. ## Thread: problem with my C code

by datainjector
Replies
2
Views
908

### thanks alot .. I need to getting used to...

thanks alot .. I need to getting used to correcting my ability to spot miniture things .. thanks again
16. ## Thread: problem with my C code

by datainjector
Replies
2
Views
908

### problem with my C code

#include "stdio.h";

int main()
{
int arrayA[10][10];
int arrayB[10][10];

int row , col , arrayB_row_cnt , arrayB_col_cnt, arrayA_row_cnt , arrayA_col_cnt, size_cnt ;
17. ## Thread: CREATING A cwindows Calculator GUI

by datainjector
Replies
5
Views
2,118

### nope that dosnt seem like the problem ....

nope that dosnt seem like the problem
....
18. ## Thread: API for controlling OS volume

by datainjector
Replies
2
Views
1,023

### API for controlling OS volume

I am looking for APIS that would allow me to use C and the certain API to take complete controll of the Window OS Vista Volume manager ..

be able to meddle with Master volume , mic volume , Wave...
19. ## Thread: CREATING A cwindows Calculator GUI

by datainjector
Replies
5
Views
2,118

### still dosnt work

I notice the silly mistake .. Its been a while since i did any C so i guess i am sort of rusty ..
thou even after using the index for the array .. the buttons dont display ..

#include...
20. ## Thread: CREATING A cwindows Calculator GUI

by datainjector
Replies
5
Views
2,118

### CREATING A cwindows Calculator GUI

Hi , I am new to windows API using C to implement this API ..

Here is the code i will explain the problem right after this :

#include <windows.h>

#define ID_EDIT 9000
21. ## Thread: Doing a Printing out Integers in String Format . Like 55 to Fifty five

by datainjector
Replies
2
Views
1,316

### sorry Forgot to Add what the rror was

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/*
*
*/
int main(void ) {

char stringEnteredVar[8];
22. ## Thread: Doing a Printing out Integers in String Format . Like 55 to Fifty five

by datainjector
Replies
2
Views
1,316

### Doing a Printing out Integers in String Format . Like 55 to Fifty five

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/*
*
*/
int main(void ) {

char stringEnteredVar[8];
23. ## Thread: Porblem with Scanf

by datainjector
Replies
4
Views
1,227

### Yes . Now I included a a while loop that would...

Yes . Now I included a a while loop that would throw away all the buffered data .

while( getchar() != '\n' ) ;

Here is my new code

#include <stdio.h>

int main( void )
{
24. ## Thread: Porblem with Scanf

by datainjector
Replies
4
Views
1,227

### Porblem with Scanf

#include <stdio.h>

int main( void )
{
int Ivar;

printf( "Enter:" );
scanf( "%c", &Ivar ) ;
25. ## Thread: What I dont understand...

by datainjector
Replies
7
Views
2,220

### Well i dis agree .. Yes byte Code(java) and...

Well i dis agree .. Yes byte Code(java) and MSIL(C#,VB.net,C++.net) are using the same concepts but the jvm and JIT compiler arnt the same ...

The JIT compiles the managed code into native code...
Results 1 to 25 of 362
Page 1 of 15 1