LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2009, 05:30 PM   #1
sweetymobil
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Question strip digits from beginning such as randNum=randNum/1000000000llu;


I really need to read more about this issue. Could you suggest a tutorial site where I can find info about unsigned long long and how it is used in random loops.
Thanks
 
Old 06-21-2009, 12:56 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What exactly are "random loops"? If you need random numbers, look at rand().
 
Old 06-22-2009, 07:54 AM   #3
sweetymobil
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
This program works OK for Prof. Buckland in his Video: 41 Sample Tree Code loop detection - Richard Buckland UNSW 2008.flv. I was trying to learn about tree structure implementation and usage, but I can't figure out why it is not working in my computer (with Deb C++). Sorry I wasn't more specific about the "random loops". Thanks
 
  


Reply

Tags
long, unsigned


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to test for a range of digits? btacuso Linux - Newbie 2 05-20-2009 08:34 PM
I need help finding out last 4 digits s_b Linux - Newbie 1 10-16-2008 09:16 AM
BASH - convert single digits to double digits. rickenbacherus Programming 7 05-07-2008 07:53 AM
grep and digits gawain Linux - Software 7 02-20-2008 03:13 AM
Adding username containing only Digits yrraja Linux - General 3 06-25-2003 11:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration