Friday, 12 January 2007
|
| Interfacing USB using C Amitdudhbade 15:44:57 |
| | Hello all,
I want to access USB port using C program. Can you please halp me start with my coding. I dont have any clue, how to begin.
Thanks and regards, Amit.
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 2 answer | Add comment |
|
| [ROOT] Re: TSpectrum + Search() problem Marco Calviani 13:01:55 |
| | Update: it seems that this happens ONLY when a large number of peaks is present. It does not accept the last peaks.
regards, mc
On 1/9/07, Marco Calviani <marco.calviani@gmail.com> wrote:> Hi,> i'm using TSpectrum to find peaks in a histogram, using> TSpectrum::Search(). However i've a problem regarding how the function> find the peaks since it recognize peaks only up to a certain x value.> In the attachment you can find a .root file where horig is the> original histogram and h is the histogram where polymarkers are put on> top of the found peaks.>
this is the definition of the histogram> TH1F *h = new TH1F("h","spectrum",time_array.size(),0,time_array.size()-1);> this is how it is filled> for(int i=0; i<(time_array.size()-1); i++)> {> if(time_array[i]>(TIMETHRESHOLD))> {> h->SetBinContent(i,-ampl_array[i]+250);> }> }> and this is the TSpectrum part> TSpectrum *sb = new TSpectrum(maxpeaksb,resolution);> Int_t nfoundb = sb->Search(h,sigma,"",threshold);> In the picture you can find the result (is the same as h->Draw()).> I'm using ROOT version 5.14 but this behaviour is the same also with> older versions.> Regards,> Marco>
|
| | 3 answer | Add comment |
|
| Serial port in C Shruti_sardana18 08:10:02 |
| | hello friends, i need ur help i have 2 PCs connected via 2 COM ports COM1 and COM2 i hv made a prog in C which can send data to another PC via COM1 bt unable to send same data through COM2 and m able to send and receive data from COM2 with other utilities what could be the problem wat r the other factors involved in this case
m using _bios_serialcom command in C if u can refer any books or so for the purpose and i want to use DOS as OS
Thanks u all in advance, Shruti
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | Add comment |
|
| C BASIC Resh_personal 05:45:33 |
| | WHY WE SHOULD USE THE SYMBOL? WHAT IS THE USE OF IT? THERE ARE SO MANY SYMBOLS IN C WHAT IS THE NECESSARY TO CHOOSE THE ?
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 7 answers | Add comment |
Thursday, 11 January 2007
|
| [ROOT] Re: help with root GUIbuilder Ilka Antcheva 16:51:23 |
| | Hi Nagaraj
At its current state the GUI builder can only help you to create and layout different GUI elements of your application. You may consider the saved GUI as a part of the application constructor or dialogs related to it. The easiest way to add functionality to the created GUI functional is the use of signals/slots communication mechanism (see "Event Processing: Signals and Slots" on page 394 at ftp://root.cern.ch/root/doc/chapter26.pdf and http://root.cern.ch/root/HowtoSignalSlot.html).
Cheers, Ilka
Nagaraj Panyam wrote:> Dear experts/users,>
After creating a GUI and saving it, how do I add code to make it do > something? Can guibuilder help me with that?> Are there any tutorials etc. to help me understand and use GUI > builder?> Thanks you for any help.> Regards,> Nagaraj>
|
| | 2 answer | Add comment |
Wednesday, 10 January 2007
|
| virutal memory to physical memory translation ? Murali Krishna M 17:02:50 |
| | Hello Everybody, Can anyone explain about Virtual memory to physical memory translation.
[mod - http://www.google.com/search?q=virtual+physical+memory+translation - PJH]
Thank you, Murali
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | Add comment |
|
| RE: Needs help again. (functions and arrays) Ray Devore 01:18:11 |
| | --- Eliacem Galon <mikmoken2003-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> hey sorry for this message. i need the code for this> badly tomorow for submission of my exercise. Hope> you> understand. what i mean can you please help me> coding> this....>
Heres i want to get...> 1. getAverage> 2. Smallest > 3. TPON (Total Positive Odd Numbers)> 4. TNEVN (Total Negative Even Numbers)> 5. Search / Searching> 6. Sort / Sorting> 7. displayPON (display Positive Odd Numbers)> 8. displayNEN (display Negative Even Numbers)> <snip code>
Eliacem,
<big rant>
Poor planning on your part does not constitute an emergency on my part.
For you to learn, you need to do the programming yourself. You should get a grade that reflects what you can do, not what I can do. I took classes and passed them on my own. I do not need to write your program to prove anything or to get a grade. Are you going to share your grade?
What are you going to do when you get a programming job based on the grade you got for somebody else's work? Are you going to get someone to do your work then also? Will you share your paycheck with them?
This group is here to help you, not to do your homework for you. You put forth some effort to write the code you provided, now work harder and get the rest of the code written. I gave you some detailed hints on what you need to do. NOW DO IT!!!!
</big rant>
Ray
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | Add comment |
Tuesday, 9 January 2007
|
| RTL and __int64 bug for BC5.02 Mohsen 18:15:01 |
| | Hi all,
I found out that BC5 has some bugs among which /= operator for __int64 and RTL bug for allocating huge blocks of memory are notable. I'm using BC5.02 and I tested the __int64 type, but I did not face any problem with /= operator as if the bug has been eliminated in this release of BC. I don't know if that's true or not. It is also important for me to know if the RTL bug still exist and how it can be tracked and removed. In my version of BC5.02 there is no source code for RTL libraries.
Many thanks
Mohsen
|
| | 1 answer | Add comment |
|
| lacceptance Roseann Chase 16:35:56 |
| | |
| | Add comment |
|
| [ROOT] Graphical User Interface Tom Roberts 14:09:13 |
| | I am trying to build a GUI. Unfortunately the documents are sparse, as are examples.
The TGComboBox and TGListBox do not have sensible default sizes. Unfortunately, the only example using them, guitest.C, contains HARD-CODED sizes for them -- a very bad idea.
How can I set reasonable default sizes for my widgets? How can I determine how many pixels an "M" is, wide and tall, for the default font of these widgets?
Tom Roberts
|
| | 2 answer | Add comment |
|
| Need high growth finance? Robert Valensky 10:49:34 |
| | Hello . Brain Marketing company offers job to Regional agents. You will be occupied just 2 or 3 hours per week and get paid 1000-2500 euro per week. Your job will include receiving money transfers on Your bank account and further transferring them to our clients. If You are interested in this vacancy, please inform us on this e-mail robert223ster@gmail.com , also include your phone number and we will contact You immediately. The only condition is that You should be more than 19 and have a bank account. Best Regards, Robert Valensky .
|
| | Add comment |
|
| his closed Trent K. Patterson 10:20:09 |
| | |
| | Add comment |
|
| HI and help me... Prashant Vishwakarma 08:51:31 |
| | Greetings, Hi I m Prashant Vishwakarma a Software Developer working as a fresher... Done B.Tech in IT. currently working in mumbai... i have a problem working with file and that is ...
i want to test wether a file is open or not in linux but things that i know are not working...
Prashant
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 6 answers | Add comment |
Monday, 8 January 2007
|
| hai Reddyonpc 20:04:36 |
| | am new to c coparate with me to learn c....................... thanx for all........
------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM --------------------------------------------------------------------~->
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 5 answers | Add comment |
|
| What is the size of c++ class which contain 3 virtual funcions Murali Krishna M 19:59:34 |
| | Hi All, HAPPY NEW YEAR TO YOU AND YOUR FAMILY. I am new buddy to this groups and following is my doubt in c++. I wish i will surely get an answer to this query in this group.
What is the size of c++ class which contain 3 virtual funcions ?
Thank you, Murali
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 9 answers | Add comment |
|
| Set the file attribute... Popeye137 16:24:30 |
| | Hello everyone,
I would like to ask how to set a read-only file to a non-read-only file.
i tried to to use
CFile::SetStatus static void SetStatus( LPCTSTR lpszFileName, const CFileStatus& status ); throw( CFileException ); Parameters lpszFileName A string that is the path to the desired file. The path can be relative or absolute but cannot contain a network name.
my problem is that the file is located in a network computer and not a local file. so CFile::SetStatus wont work.
Do you know any work around on this? Thank you very much...
Regards,
Rommel
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 1 answer | Add comment |
|
| A linker problem BDS 2006 - C++ Builder Milan Kotaska 15:49:09 |
| | Hello,
I have a problem with my project linkink.
In my project I have one unit where are defined about 16000 exernal variables (CPP file lines like - const char szTest[50]="Test"; and H file lines like - extern const char szTest[50];) and other unit where are referenced all externals from previous unit (about 16000). If I try to link a project I will get a linker error:
[Linker Warning] Warning: CODE : 0x0000014f / 0x00400000 [Linker Warning] Warning: DATA : 0x0012eb8b / 0x00400000 [Linker Warning] Warning: DEBNAM : 0x000574a9 / 0x00400000 [Linker Warning] Warning: DEBSYM : 0x00070d47 / 0x00400000 [Linker Warning] Warning: DEBTYP : 0x0008caf2 / 0x00400000 [Linker Warning] Warning: Extdef flags : 0x00000021 / 0x00004000 [Linker Warning] Warning: Extdefs : 0x00000084 / 0x00004000 [Linker Warning] Warning: External types : 0x00000004 / 0x00040000 [Linker Warning] Warning: Import symbols : 0x00000000 / 0x00100000 [Linker Warning] Warning: Line number cache : 0x00000042 / 0x00060000 [Linker Warning] Warning: OBJ symbols : 0x000f3dd4 / 0x00100000 [Linker Warning] Warning: Public GSX : 0x00012c08 / 0x000c0000 [Linker Warning] Warning: Publics : 0x000a8c48 / 0x000c0000 [Linker Warning] Warning: SegRelocs : 0x0005dc64 / 0x00400000 [Linker Warning] Warning: StringBlock : 0x00000023 / 0x00400000 [Linker Warning] Warning: Type names : 0x0000003b / 0x00100000 [Linker Warning] Warning: Virdefs : 0x00000004 / 0x00020000 [Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ilc: 0x00010000 / 0x03000000 [Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ild: 0x0013f000 / 0x03000000 [Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ilf: 0x000f2000 / 0x03000000 [Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ils: 0x0019e000 / 0x03000000 [Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.tds: 0x00070000 / 0x06000000 [Linker Warning] Warning: CODE : 0x00000000 / 0x00400000 [Linker Warning] Warning: DATA : 0x000a1c04 / 0x00400000 [Linker Warning] Warning: DEBNAM : 0x0005745f / 0x00400000 [Linker Warning] Warning: DEBSYM : 0x0005e013 / 0x00400000 [Linker Warning] Warning: DEBTYP : 0x0008ca44 / 0x00400000 [Linker Warning] Warning: Extdef flags : 0x00001000 / 0x00004000 [Linker Warning] Warning: Extdefs : 0x00004000 / 0x00004000 [Linker Warning] Warning: Import symbols : 0x00000000 / 0x00100000 [Linker Warning] Warning: OBJ symbols : 0x00000000 / 0x00100000 [Linker Warning] Warning: Public GSX : 0x00000000 / 0x000c0000 [Linker Warning] Warning: Publics : 0x00000000 / 0x000c0000 [Linker Warning] Warning: StringBlock : 0x00000027 / 0x00400000 [Linker Warning] Warning: Virdefs : 0x00000000 / 0x00020000 [Linker Warning] Warning: unknown heap name : 0x03000000 / 0x03000000 [Linker Fatal Error] Fatal: Exceeded memory limit for block Extdefs in module C:\projects\TestNew\Test\texts_tbl.cpp
I do not know, how to solve the problem. There was no this problem in BCB 5.0.
Thank you for any idea.
Milan Kotaska kotaska@atal.cz
|
| | 1 answer | Add comment |
|
| String class??? T_u.L_i_p 15:41:53 |
| | i want to know that how does c++'s string class differ from c string class??? or c++ have the same string class od c?? and as in c++ there is a char* (a pointer type character) then why does c++ have a string class??? wat advantage this string class in c++ have over char* pointer typw character??? Regards
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required)
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
| | 3 answer | Add comment |
|