Thank you very much guys. All is good now, i really appreciate it.
Type: Posts; User: C of Green
Thank you very much guys. All is good now, i really appreciate it.
well when i add a cout to the do while loop, it seems to be reading it in correctly. Its just when i display it back. It only has the last line, then garbage.
hey all, Just wondering if someone might know what is going wrong here.
I have a file that looks like this ...
...
V 2 103 362731.9 5606201.4 ...
and why would this be a bad idea ? isnt the purpose of the exit() function to cause immediate normal termination of a program ? just wondering :)
C# supports "real" pointers with the unsafe keyword
hmmm ... ya i tried playing around with <iomanip> still could not get it to work.
Questions ... Why does the first number get lose the decimal and get rounded up? why does the second number turn...
Hi all, just wondering if someone can tell me what i might be doing wrong here ...
I'm trying to read in numbers from a text file into variables and display them back on the screen. However after...
you can get rid of the blue by going to your properties window / FlatApperance / FlatStyle ... and change that to Popup ... not sure if thats what you want thou .
ya well, a comment was made about pointers and i just simply made a reply, and "unsafe" code was added to c# for a reason like performance, flexibility and direct memory management. I think c# would...
you can use the "unsafe" keyword to use pointers ...
class Program
{
unsafe public void test()
{
int* pointer;
oh sorry i didnt see this ...
however ... seems you might have an array out of index in "LoadConfig" or elsewhere ...
you can try something like this ...
Thread newThread = new Thread(new ThreadStart(doSomething));
newThread.Start();
WOW ! Thanks for the reply Bob ! i quickly tried that out, and it works awesome ! I'm new to C# and had no idea about Encoding ... thanks again.
:)
hi ... thanks for the reply/input bob ... however im quite sure the byte array is done properly, and there is no packed data involved. Im trying to convert a EBCIDIC header that is present on SEGY...
hi all ... im trying to make a ebcdic to ascii conversion function, however something is not
working right. I keep getting characters showing up like ...
( : / - / )€ - (...
Your reasoning/his reasoning ... Would a second language help if you were in Europe !
ya well i would i have to say ... yes it might be "easy enough to translate" C# to VB.NET, if you had a good understanding of "both" languages and not have to consult books or colleagues when the...
Hello all ... i have a StringBuilder question. Im wondering the best way
to go about "clearing" a StringBuilder after is has aready been appended to.
heres the deal ... i have a textBox that i...
perhaps a starting point ...
private void inputTextBox_KeyDown(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
...
Right on! thanks for the tip prelude. With StringBuilder it works great and is fast!
const int NUMOFROWS = 40;
const int NUMOFCOLS = 80;
private char[] ASCIIHeader...
hi and thanks for the reply prog-bman. However i was able to figure it out so it works but now
the problem is its really really slow to output 3200 chars on the screen. I can almost write
this out...
Hi everyone ... im just wondering if i can output a string into a textbox with a specified format.
I have an array thats 3200 chars that i want to output to a text box, however i want to output...
Thanks, that worked great!
:)
hey all ... just wondering if someone knows how to convert an array to a textbox. I have a StreamReader that reads in 3200 chars, and im tring to output them into a textbox, however it will only...
cool ... thanks for the reply thantos ... i will check into the "Virtual Server" when im at the router ...
thanks :)