Search Results

Search: Posts Made By: bigdrock44
Forum: Programming 12-24-2010
10,506
Posted By bigdrock44
Aha!! I understand now! And what do you know I...
Aha!! I understand now! And what do you know I implemented it and everything works correctly!! Thank you sooo much I had been looking forever through forums and other things and could not find quite...
Forum: Programming 12-23-2010
10,506
Posted By bigdrock44
So if I want to alter codeMaker (located in...
So if I want to alter codeMaker (located in main()) with the function read_unbuffered I should not use a pointer?

Here's an excerpt from my main:

/*Determine if code is valid*/
valid =...
Forum: Programming 12-22-2010
10,506
Posted By bigdrock44
Let me make sure I understand everything...
Let me make sure I understand everything correctly first. When you have variables within a function, they are local to that function correct? It will not have any affect on the variables within the...
Forum: Programming 12-22-2010
10,506
Posted By bigdrock44
Like you said, it is a separate function, but I...
Like you said, it is a separate function, but I need to utilize it so that it returns the array that the user typed in. I don't want a simple true or false to be returned because that is not what I'm...
Forum: Programming 12-22-2010
10,506
Posted By bigdrock44
Well I'm actually not using it as a typical...
Well I'm actually not using it as a typical password that grants access to something. I'm making a Mastermind game, maybe you've heard of it. Basically, one player types a code and the other player...
Forum: Programming 12-21-2010
10,506
Posted By bigdrock44
Oh okay, yeah I noticed that it was along those...
Oh okay, yeah I noticed that it was along those lines but I didn't know if it would be wrong to do that.

So now I have everything working correctly, I just want the function to return an array,...
Forum: Programming 12-21-2010
10,506
Posted By bigdrock44
I got it to do what I was basically asking....
I got it to do what I was basically asking. Here's the issue, though. I want it to output the "*" or the colored numbers, whatever the situation may be, but I want to store the actual keystroke. For...
Forum: Programming 12-19-2010
10,506
Posted By bigdrock44
I meant I would print "\b \b", but I just want to...
I meant I would print "\b \b", but I just want to give the user the option of deleting characters with backspace or delete.

So I was messing around with implementing backspace and also reading it ...
Forum: Programming 12-19-2010
10,506
Posted By bigdrock44
Oh okay so print("\b \b") will print a backspace?...
Oh okay so print("\b \b") will print a backspace? Awesome. Also, what is delete as opposed to backspace? Like backspace is \b. What is delete?

I think that basically is what I needed then. One...
Forum: Programming 12-19-2010
10,506
Posted By bigdrock44
Okay so I tried including the headers you said...
Okay so I tried including the headers you said and the first one worked, except it had issues with the reference to "fileno". However, I tried your simplified code and it seems to work... kinda. I...
Forum: Programming 12-19-2010
10,506
Posted By bigdrock44
Okay so now I'm almost thinking that the reason...
Okay so now I'm almost thinking that the reason your code didn't work when I tried it was because I think I might have compiled the wrong file. Because as i try to compile it now I'm getting errors...
Forum: Programming 12-17-2010
10,506
Posted By bigdrock44
The terminal I'm using is pretty simple. I took a...
The terminal I'm using is pretty simple. I took a course in C/Unix last quarter and I'm using the terminal they had us use, which I'm sure is probably very basic since the class is aimed at engineers...
Forum: Programming 12-16-2010
10,506
Posted By bigdrock44
@jim: I used your exact code to test it before I...
@jim: I used your exact code to test it before I implemented it and I couldn't get it to work.

@corona: So if it has to do with my terminal settings what setting do I need to change?
Forum: Programming 12-14-2010
10,506
Posted By bigdrock44
I'm actually getting the same results as the...
I'm actually getting the same results as the first code you posted. I was wondering, would getc() and putc() work? I thought getc() didn't echo and I could basically do a loop using getc(stdin) and...
Forum: Programming 12-14-2010
10,506
Posted By bigdrock44
Okay I tried that, but when I type the password...
Okay I tried that, but when I type the password it still stays blank, only showing the stars after I press enter instead of doing it after each keystroke. Also, it's not even passing the password...
Forum: Programming 12-13-2010
10,506
Posted By bigdrock44
Masking Password with *'s
So I've been working on this for some time now and can't seem to find the solution that works for me. I'm working in C/Unix. Basically, I want to take a user input and output something different. For...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy