Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
40% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
3 Endorsements
Ranked #496
~3K People Reached
Favorite Tags
Member Avatar for chester1908

Hello, i was wondering if i could get an opinion on the following code as it is giving me a headache: int counter = 498853097; int k = 0; clock_t start, end; float seconds1,seconds2; start = clock(); for (int i = 0; i < counter; i++) { k++; } end …

Member Avatar for chester1908
0
288
Member Avatar for chester1908

Hello everyone. I will try to explain my question the best way i can, however my lack of knowledge on the subject-which is the reason for this thread- may make things confusing. I am currently working on a project for a class, which requires me to "mess around" with linux …

Member Avatar for rch1231
0
236
Member Avatar for chester1908

Hello everyone. I have limited experience at programming,have been using c and java for a few years. However i am a long time windows user. I recently got a serious assignment for university. I picked programming topic assuming it would be something i would know something about, however the topic …

Member Avatar for rubberman
1
325
Member Avatar for chester1908

Hello all. I started out yesterday trying to understand the point of webservices and how to use them. I found countless tutorials but most of them seemed not enough for what i need to understand or outdated or not "manual enough" so i'd do it myself and get it. IDE …

0
74
Member Avatar for chester1908

Hello all. I got a project which includes many classes.One of them is a class extending JPanel which is used to load an image as a background for my JFrame. Now,there are 2 other classes,instances of which are used to represent people interfering with each other or moving within the …

Member Avatar for mKorbel
0
137
Member Avatar for chester1908

Hello all,quick question. I have to (not my option,has to be that way) make an array with huge length, definitely more than 100.000 ,maybe 1 million. But if i use a non-integer position counter (don't know the english word for it, like myArray[i] and i is not integer) i get …

Member Avatar for chester1908
0
149
Member Avatar for chester1908

Hello all. I seriously need some help with eclipse for C installation because i haven't got this stuck and angry since 10 years ago when i was a kid and got my first pc,and couldn't install audio drivers :P. Okay,lets get to the point.Here are the issues: I used to …

Member Avatar for yashsaxena
0
198
Member Avatar for chester1908

Hey all. I'm having a bit of problem with structs. Say we have a struct comprised of some strings and ints.One of the strings is a keycode,which is used for hashing.So my program reads from a file some information,creates a struct and using that keycode it places the struct on …

Member Avatar for Ancient Dragon
0
182
Member Avatar for chester1908

Hey all. I'm making a program which uses many buttons and a textfield. I need help and some explaining on how to organise components within a panel. For example,using [CODE]mainPanel.add(BorderLayout.NORTH,display); mainPanel.add(BorderLayout.CENTER,background); mainPanel.add(BorderLayout.EAST,buttonBox); mainPanel.add(BorderLayout.WEST,buttonBox2 );[/CODE] All components (the buttons within the background panel,the buttons within buttonbox1/2 and the display field) are …

Member Avatar for mKorbel
0
194
Member Avatar for chester1908

Hey all.I got a question about the use of action listeners.Actually its more about actionEvents.Anyway,my question is: Supposing i have a frame with four buttons,say "A","B","C","D". I want each time i press a different button something different to appear on TextField.I know i can make 4 different button subclasses,each with …

Member Avatar for chester1908
0
413
Member Avatar for chester1908

Heyz all.Im working on a program to add,sort,search etc contact struct (name last name number..).So i add structs and i sort them with qsort (i print the result,they are sorted).I have problem using bsearch(),it keeps returning NULL (so i see printed "not found"). The error must be something with the …

Member Avatar for chester1908
0
354
Member Avatar for chester1908

Hey hombres. I feel a bit embarassed to ask something so simple,but i need help with qsort. As you will understand,im trying to sort my table made of "catPage" structs,which are read from keyboard,comparing the lName strings. First i print the struct array unsorted,then sorted,but what i see printed is …

Member Avatar for chester1908
0
548
Member Avatar for chester1908

Hey all. (the reason i dont post code is a)because i think its far too long because the whole program is not just about that and b) because i think you might be able to help me w/o code,as it is kind of wierd problem)~~ So i wrote this program …

Member Avatar for Murtan
-2
263