Search Results

Search: Posts Made By: aLHaNz
Forum: Programming 02-08-2012
2,876
Posted By aLHaNz
Hey thx I go check it out!!
Hey thx I go check it out!!
Forum: Programming 02-08-2012
2,876
Posted By aLHaNz
Thx done already!!
Thx done already!!
Forum: Programming 02-08-2012
2,876
Posted By aLHaNz
Solved
Solved
Forum: Programming 02-08-2012
2,876
Posted By aLHaNz
Solved
Solved
Forum: Programming 02-08-2012
2,876
Posted By aLHaNz
SDL Image Filtering
Solved thanks for info!!
Forum: Programming 08-20-2011
4,972
Posted By aLHaNz
C++, giving thread a "name"
Hey guys, I'm doing a mutli-threading in a maze which I'm able to do it already. Now all thats left is to name the thread which is created.
The problem is I don't really know how.
Let's say my...
Forum: Programming 08-09-2011
7,505
Posted By aLHaNz
I am able to type blank space and write...
I am able to type blank space and write everything into the client.
However one last problem.
When the user enter a country lets say China, It will returned everything I write but the terminal just...
Forum: Programming 08-08-2011
7,505
Posted By aLHaNz
Haha sorry man I would like to show but the...
Haha sorry man I would like to show but the server and client codes are way to long..

I just want to know how to write it in the client side using the write().
Using printf will just print the...
Forum: Programming 08-08-2011
7,505
Posted By aLHaNz
Ok.. so actually I was getting the information...
Ok.. so actually I was getting the information from a text file.
User enter the input from the client side, lets say Netherlands.
The server will read the information and returns back to the server...
Forum: Programming 08-08-2011
9,717
Posted By aLHaNz
It works thanks!! But got a slight problem The...
It works thanks!! But got a slight problem
The list of output has shown.
I've tried typing the input lets say, Vietnam.
It works for the first time.
The 2nd time I typed Singapore, it works too....
Forum: Programming 08-07-2011
9,717
Posted By aLHaNz
So ya mean I need to remove the close socket? ...
So ya mean I need to remove the close socket?
I've tried commenting it and found out that it's the read data problem is that true.
I'm not really familiar with the C programming commands so kinda...
Forum: Programming 08-07-2011
9,717
Posted By aLHaNz
haha sry i did post the whole thing i did try to...
haha sry i did post the whole thing i did try to loop thou.



char country[300];

char capital[300];

char currency[300];

while (1) /* Loop forever */

{

/* Accept...
Forum: Programming 08-07-2011
9,717
Posted By aLHaNz
Hahaha its still not working.. The client...
Hahaha its still not working..

The client side
while(1){

int ret;
char country[300];


printf("Please enter country name > ");

scanf("%s",country);

if (strcmp(country,...
Forum: Programming 08-07-2011
9,717
Posted By aLHaNz
Looping problems socket programming in C
Sorry if I posted 2 separate questions.
I'm currently doing socket programming on my current task. As you can see below in the client side. I've tried to do a loop so I will be able to get prompt...
Forum: Programming 08-07-2011
7,505
Posted By aLHaNz
Storing input + some text into a variable (C Programming)
Hey guys got a slight problem here, I kindda new to socket programming in C so I need some guide on how to store something like this in a variable.

printf ("%s Name : %s\n",...
1,632
Posted By aLHaNz
Thanks it works wonder
Thanks it works wonder
1,632
Posted By aLHaNz
Sample A, 0 Sample B, 0 Sample C, 0 . . ...
Sample A, 0
Sample B, 0
Sample C, 0
.
.
.

All About Ubuntu, 1

The stock currently for All About Ubuntu actual amount should be 2 but the output is 1.

Haha it does work somehow.,...
1,632
Posted By aLHaNz
haha thx it works!! but it show one show chunk of...
haha thx it works!! but it show one show chunk of inputs in a line but included all the list of stocks which even has more than 3.
I thought that after cutting the amount and display, everything...
1,632
Posted By aLHaNz
Validation of variable
Hey people, I got small little error which says I entered too many argument in the if else list.
The stock contains a list of information.
The 4th field consist of the quantity available, so I'm...
1,128
Posted By aLHaNz
"Powerful" search tool
Hey guys I got this set of data in my text file.
What I want the user to do is to just enter any keyword in the search input which will enables him to find the specific letter.

file.txt...
1,012
Posted By aLHaNz
Ahh its still the same.. The price of the record...
Ahh its still the same.. The price of the record still reduce though.. Is the extraction of the data wrong?
1,012
Posted By aLHaNz
Minor Calculation Error
Hello everyone!! I got a slight problem doing some calculation from the text file. I able to get the specific data by cutting it using grep and cut.
The amount can be calculated but the problem I...
1,027
Posted By aLHaNz
Ahh it work perfectly thx!!
Ahh it work perfectly thx!!
1,027
Posted By aLHaNz
Sorry for the trouble man but I would like to...
Sorry for the trouble man but I would like to keep the same file(file.txt) instead of saving it to a new file(file1.txt) so thats why I got the && mv command.
1,027
Posted By aLHaNz
Append text error?
Sup guys, today I tried to append a string from my text by asking the user to input and change the specific text they wanna append.
The problem is that, the code looks logically correct, but when I...
Showing results 1 to 25 of 36

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