560 Posted Topics

Member Avatar for StMatX

Look in the folder /dev. In that folder you will see a whole bunch of files. Beleive it or not, those files are the link to your hardware on a low level. If you wish to access the device an a low level, just read and write from the corresponding …

Member Avatar for Hiroshe
0
171
Member Avatar for vegaseat

Yeah, I kinda don't like the idea of google making an os... I can see google becoming an open source version of microsoft, trying to dominate every single market it see's. I don't think windows seven will run vary well on my poor little aspire one, so I have to …

Member Avatar for kaninelupus
0
637
Member Avatar for Hiroshe

Hey guys. I decided to do another project euler problem, and got this problem: [CODE]You are given the following information, but you may prefer to do some research for yourself. * 1 Jan 1900 was a Monday. * Thirty days has September, April, June and November. All the rest have …

Member Avatar for Hiroshe
0
743
Member Avatar for boyjim32

[QUOTE=boyjim32;921648]do i need to code it first???[/QUOTE] Well, for a simple problem like this, you might. But for bigger problems, planning out the program is a must. Uhh... Why would someone who dosent know how to program in the first place be asked this? What ever the reason, [URL="http://www.cprogramming.com/tutorial.html#c++tutorial"]here[/URL] is …

Member Avatar for tux4life
-1
250
Member Avatar for seakayaker

Making the gui is not vary hard. Learning how to make it however may take effort. If you want to make a simple gui without learning too much, consider using a gui builder. [URL="http://en.wikipedia.org/wiki/Graphical_user_interface_builder"]This[/URL] wikipedia page may be useful. Good luck.

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for ndfi54

Use code tags and format you code please, it's hard to read. :) You can't make a boolean function in C. Use int instead (zero and nonzero). Why do you have so meany headers? All you need is stdio.h and math.h Also, I think the line: [CODE]limit=sqrt(double(num))+1;[/CODE] Was ment to …

Member Avatar for ndfi54
0
246
Member Avatar for Denxerator

Here is a little more in-depth answer. >[COLOR="Red"]So my question is, how does C++ work? Like if you put the C++ code in notepad, save it, open it, will it work? I bet it won't.[/COLOR] Well your right. Lets take it from the beginning. A program is a set of …

Member Avatar for tux4life
0
180
Member Avatar for debasishbasak
Member Avatar for maythant

Come here with your code if you have a problem with it, and we will point you in the right direction. Remember, google is your friend. Good luck with your project. :)

Member Avatar for Hiroshe
0
88
Member Avatar for ~s.o.s~
Member Avatar for Narue
1
172
Member Avatar for kou yuuzhen

The code you written is C not C++. A C++ or C compiler should be able to compile that code. [URL="http://visualbasic.about.com/od/vbnetspecialtopics/a/bldykleapyra.htm"]Here[/URL] is a link to a page which has some vb code at the end to calcuate leap years. It should be easy to understand, even if you don't know …

Member Avatar for necrolin
0
163
Member Avatar for xfreebornx

You shouldn't ask you question only in the title, but i'll make an exception. >[COLOR="Red"]please can any1 help me with this program[/COLOR] The answer is yes, I can help you with this program. Hope I was able to help!

Member Avatar for Ancient Dragon
0
116
Member Avatar for amarucla

[QUOTE=Ancient Dragon;919229]I know that could be done with Microsoft MFC. Probably even wxWindows. You might search [url]www.codeproject.com[/url] to see if they have anything useful. I know they have a plotting program written if MFC.[/QUOTE] wxWidgets formally known as wxWindows is a cross platform api. It cam be used for free …

Member Avatar for Stefano Mtangoo
0
926
Member Avatar for scru

Why do you suck? Thats an odd question if I must say so myself. [CODE=C] #include <stdio.h> #define suck 0 #define awesome 1000 int main() { int scru = awesome; while(scru != suck) scru--; if(scru == suck) { printf("scru sucks\n"); scru /= 0; } else printf("scru dosen't suck\n"); return 0; …

Member Avatar for ddanbe
0
108
Member Avatar for chargreaves

Hmm, you have a problem. I am also unable to find a converter. You may, however, be able to open the file in notepad (if you are on windows) and extract the information manually. Expect to see gibberish along with your text. This is normal. Also note that the text …

Member Avatar for tdeck
-1
102
Member Avatar for Kurt Kubing

Will, I'd personally open 2 sample files for all three types in a hex editor, and see if I can find the propery values in them and try and find a pattern to where they are located. After that I would write a program to open the file up, index …

Member Avatar for Dream2code
0
125
Member Avatar for ankit007

It's hard to tell whats wrong without the source, so if you need to know why your program dosen't work, upload the source. Never programmed in VB for a while, but [URL="http://www.homeandlearn.co.uk/NET/nets12p4.html"]this[/URL] should help. I found it using an online service called [URL="http://www.google.com/"]Google[/URL]. Its completly *free, no sign-up required, and …

Member Avatar for sonia sardana
0
259
Member Avatar for jjplaw

>[COLOR="Red"]* Is it possible that if the user tries to kill the service, the service will automatically change license code and kill software X before being killed itself?[/COLOR] No, not directly. However you can use cryptography to make it alot more harder. See below. >[COLOR="Red"]* If the user changes the …

Member Avatar for tux4life
1
177
Member Avatar for shtikk

[QUOTE=shtikk;917700]can you help me make a typing game of falling letters(randomly), and as the player presses the key of the letter, the letter being pressed will vanish and points will be gained by the player. Thank You.[/QUOTE] Next time make a new thread.

Member Avatar for Salem
0
122
Member Avatar for Dream2code

Try making a smaller example of the problems... that program looks a over complicated. If what you have work's, exept for a few errors, don't worry about changing it. Here's how I would go around doing it: First read the description file to make a sscanf string, and make two …

Member Avatar for Dave Sinkula
0
446
Member Avatar for richm.analytica

[URL="http://www.algorithmist.com/index.php/Sorting"]Here[/URL] is a webpage that has a list of sorting algorithms and pseudo-code.

Member Avatar for oop'stechie
0
116
Member Avatar for aayush2687
Member Avatar for headedtomexico

A quick search on google "C++ searching local directory for dll" and I found [URL="http://stackoverflow.com/questions/327093/add-custom-dll-search-path-application-startup"]this[/URL] on the first link. Hope it helps.

Member Avatar for Hiroshe
0
157
Member Avatar for Hiroshe

Who the daniweb mascot? You know, the dude that you see when you don't log in with really long and skinny legs? The picture of his head is just below the "Site Search" button. Does he have a name? Wife? Does he have a house? A car? Whats his blood …

Member Avatar for mascot
1
140
Member Avatar for Ene Uran

[QUOTE=MosaicFuneral;915620]How do we know it's not a US ploy to zealously lock-down and censor the internet?[/QUOTE] Becouse no one has control over the internet. That would be against it's own design.

Member Avatar for MosaicFuneral
0
174
Member Avatar for DeanoJ

You welcome in advance :P There are 64-bit verisons of Windows, Linux, and some unixes (like freebsd). I don't know of any 64-bit OS that does not support 64-bit adressing (besides running 32-bit apps in 32-bit mode). I'm sure windows has a 64-bit compiler for C/C++. Unix/Linux has gcc which …

Member Avatar for Hiroshe
0
131
Member Avatar for JerezFinest
Member Avatar for ddanbe
0
579
Member Avatar for Menster

Just thought I'd post that google chrome OS is going to be based on linux. They also said that the whole thing will be open source, so they'll only be able secretly collect info by making most of the desktop online. I'm still going to stick to comfortable ubuntu.

Member Avatar for rishabhv
0
297
Member Avatar for Embroidery

Tutorials: [URL="http://www.cprogramming.com/tutorial/c/lesson3.html"]Loops[/URL] [URL="http://www.cprogramming.com/tutorial/c/lesson8.html"]Arrays[/URL] Make up some code using those, and if it dosent work, come back here so we can correct you. Good luck.

Member Avatar for AirGear
-1
90
Member Avatar for Hiroshe

Is it possible in C to pass a 2d array without eather of the sizes known? Something like this maybe: [CODE=C]#include <stdio.h> void somefunction(int *array); int main(void) { int array[3][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}; somefunction(array); return 0; } void somefunction(int *array) { printf("%d\n", array[3][2]); …

Member Avatar for Hiroshe
0
10K
Member Avatar for jessejamesjjr

Make your own from your computer (unlikely your ip addr is blocked... yet.) Maybe hide it in an 'educational website' and have a ssl secured 'administrator's login'.

Member Avatar for Salem
0
135
Member Avatar for gustyJoey

[QUOTE=gustyJoey;913517]can yo pls help me the full codes of militlitary time convert to 12 hours time.[/QUOTE] I can't really help you fill lines of code (it would requre altering your neural system.) Modulo 12.60 should do it, with floating point integers. EDIT: Sorry Ancient Dragon, didn't see your post :P

Member Avatar for Ancient Dragon
1
77
Member Avatar for che_che

Ahh, thats what you were asking. Try subracting two asterics from each row (and 4 on the next, etc..), and adding a space in front (again, 2 on the next etc..). You need somewhere to stop it though, or it might turn into a triangle!:P Again, it looks like your …

Member Avatar for Hiroshe
0
151
Member Avatar for Menster

I'm my school, I've never seen a programmer smoke (there is a large number of smokers in our school). We'll, I guess if you count one of the "programmers" in CS class who can't make a simple prime number tester after 5 months without copying someone elses code, than I …

Member Avatar for Menster
0
142
Member Avatar for kangarooblood

What are all those headers for? Comments would also be nice so we can see what your doing. Are you incrementing every character by one, and if the input is 'n', you increment every number again? What happens when you go past the printible character range?

Member Avatar for kangarooblood
0
224
Member Avatar for Hiroshe

I'm trying to write my own function from scratch to add large numbers. This function takes the input of an unsigned long long array, with each number being 10 didgets long (the reason for the long long signed is becouse I might expand it) and adds it to the output …

Member Avatar for Hiroshe
0
202
Member Avatar for DoEds

Here's the english version: [CODE]If input is peso to dollar Multiply input by 0.08775 (canadian dollars) (use double datatype) print product to the screen if input is dollar to peso Divide input by 0.08775 (canadian to peso) print result to the screen[/CODE] Just change that decimal to 0.076208 for us …

Member Avatar for Tom Gunn
0
359
Member Avatar for DeadJustice

Hmm. Sorry I dont know mips assembly but on line 12 [CODE]ori $s3, $0, 2[/CODE] It looks like your resetting something back to 2. Just an educated guess.;) Good luck!

Member Avatar for DeadJustice
0
4K
Member Avatar for Hiroshe

Hey guy's. Can't get this seemingly simple function to work. It is suppost to get a string and return the first 10 characters, than the next time you call it, it returns the second 10 cheracters and so on. I did this in basic a while ago without problems, C …

Member Avatar for Hiroshe
0
142
Member Avatar for amrith92

Fear.. It created becouse ancient animals with the random trait of fear survived better than the ones without, so they were the one's who had the next generation. We tend to bevieve anything that we should stay away from thats dangerous, even if it dosent exist. We also are also …

Member Avatar for jephthah
1
347
Member Avatar for GooeyG

Take a look [URL="http://www.cprogramming.com/"]here[/URL] for some more information. Remember google is your friend, and post here for help. Good luck learning C++.

Member Avatar for Q8iEnG
0
139
Member Avatar for Hiroshe

I'm not sure where else to post so forgive me:( I know how to mark a post as solved, but how do I chose who solved it? Sorry if you solved one of my threads and didn't get a forum solved point.:scared: Thanks.

Member Avatar for GrimJack
0
125
Member Avatar for che_che

Here we help people learn and understand programming. We don't answer questions without the questioneer doing work to understand what the problem is and attempting to fix it... Judging from the filename I'd say this is homework and you have no idea what your doing. Unless, of course, your "just …

Member Avatar for Agni
-2
229
Member Avatar for rockyman12

Hmm. Mac addreses should not go past the modem. I bet you that in order to track the location of a computer, they have to ask the isp (which who would probably only give to law enforcement after a good reason.) Everyone connected to the internet has equal right. Law …

Member Avatar for jbennet
0
128
Member Avatar for ermithun

Print "Debug" to the screen at diffrent spots in the program. if you see the word "Debug" on the screen, you know its lower, if you don't see "Debug" its higher. I do this al the time befor I use a debugger. Good luck.

Member Avatar for Hiroshe
0
186
Member Avatar for Raza Najam

I find if somethings too complicated to do with little abstaction, make it more abstract. In C, that basicly means making more functions to do smaller tasks. I suprized myself what I can do with this technique. I reccomend making a function to seperate the words one by one, and …

Member Avatar for Hiroshe
0
96
Member Avatar for Hiroshe

Writting a program which involves tallying generated numbers. I'm having problems with the tallying part. It takes a number, and finds it in the second row of an array, and tallies (add 1) to the same position in the first row. Here's my extracted code: [CODE=C]#include <stdio.h> void tally(int number, …

Member Avatar for Hiroshe
0
1K
Member Avatar for kostasxx

Euler problem 3? The printf symbol for long long unsigned int is %llu. Just look for some malloc examples on google or look at [URL="http://www.cproggraming.com"]http://www.cproggraming.com[/URL]. Good luck!

Member Avatar for Tom Gunn
0
121
Member Avatar for Hiroshe

Warning, this post contains code for Euler problem 5. Try to solve it youself without looking at anyones code. Its alot more satisfying if you do it yourself. Hello, just found an interesting website called project euler. I managed to get to problem 5 without a too many problems. Anyways …

Member Avatar for iamthwee
0
116
Member Avatar for ganesh_bala

If your going towrite your own, think of how you would do it on paper. I tried to write one for any size number (limited by memory). Didn't work but the concept is pritty simple.

Member Avatar for Hiroshe
0
142

The End.