dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
|
2
|
3
(3) |
4
(1) |
|
5
|
6
|
7
(1) |
8
|
9
|
10
|
11
|
|
12
|
13
(2) |
14
(1) |
15
|
16
|
17
|
18
|
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
|
26
|
27
|
28
|
29
|
30
|
|
|
|
From: dragomir n. <dne...@ya...> - 2010-09-14 08:59:04
|
// // // Random1.h // // #ifndef Random1_h #define Random1_h double GetOneGaussianBySummation(); double GetOneGaussianByBoxMuller(); #endif /* * * Copyright (c) 2002 * Mark Joshi * * Permission to use, copy, modify, distribute and sell this * software for any purpose is hereby * granted without fee, provided that the above copyright notice * appear in all copies and that both that copyright notice and * this permission notice appear in supporting documentation. * Mark Joshi makes no representations about the * suitability of this software for any purpose. It is provided * "as is" without express or implied warranty. */ |
|
From: Derek C. <de...@ci...> - 2010-09-13 11:54:01
|
The characters that you actually get will depend upon the code page installed on your particular machine and the font currently in use. A FAR better way to get general language support is to use Unicode. That way a certain character code always means the same character! The snag is that the characters are 4 bytes long instead of 1. Look at http://evanjones.ca/unicode-in-c.html Another reference I just found is rather more scientific about this issue: http://www.linuxselfhelp.com/gnu/glibc/html_chapter/libc_6.html <http://www.linuxselfhelp.com/gnu/glibc/html_chapter/libc_6.html>This should apply to Dev-C++ as gcc is used as the compiler. On 13 September 2010 12:28, Filip Palle <fil...@ya...> wrote: > > Hey to all,I have huge problem which,I'm sure,has a simple solution. :) > > I'm having trouble displaying croatian letters in printf line.. Since i > cannot write letter č or š or đ etc directly (because all i get are strange > signs),i have to do it through ANSII codes..which for letter č is 159 (I > think). > > printf("Upi%ci re%cenicu:\n",sh,ch); //*"Upiši rečenicu" means basically > "write a sentence" ;) *// > gets(rec); ... > > in which ch=159 and sh=231. > This used to work year ago when i was doing this for something,and now even > that won't work and I don't know why... So do I have to do something in the > options tab? I don't get it why it wont accept not even here or in terminal > these letters.. > > Thx alot. > Winxp,devcpp 4992. > > Filip. > > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Filip P. <fil...@ya...> - 2010-09-13 11:28:41
|
Hey to all,I have huge problem which,I'm sure,has a simple solution. :)
I'm having trouble displaying croatian letters in printf line.. Since i cannot write letter č or š or đ etc directly (because all i get are strange signs),i have to do it through ANSII codes..which for letter č is 159 (I think).
printf("Upi%ci re%cenicu:\n",sh,ch); //*"Upiši rečenicu" means basically "write a sentence" ;) *//
gets(rec); ...
in which ch=159 and sh=231.
This used to work year ago when i was doing this for something,and now even that won't work and I don't know why... So do I have to do something in the options tab? I don't get it why it wont accept not even here or in terminal these letters..
Thx alot.
Winxp,devcpp 4992.
Filip.
|
|
From: Kathleen E. <k.a...@at...> - 2010-09-07 10:22:23
|
http://lonewolf21.lo.funpic.de/en.php |
|
From: Per W. <pw...@ia...> - 2010-09-04 14:00:56
|
Many schools are known for monitoring web forums, mailing lists etc to catch people who try to get someone else to make their work or who try to copy source code fro the net. As already mentioned earlier, the assignments are very easy. So you are either able to solve these problems yourself or you have a strong reason to consider switching to doing something else. A different question is of course if you want to live your life as a cheater? If you cheat with school assignments, will you also cheat with other peoples money? Lending items from "friends" but nut returning the items? Running from dinner bills? /pwm |
|
From: <mi...@na...> - 2010-09-03 18:17:16
|
No one is going to do a homework question for you. You joined the class to learn something, not have someone else write your code for you. Either write it yourself, or drop out of the class. Sometimes you just have to man up and do some work in your life. Especially if you plan to do this professionally some day. As for your homework, all of those are extremely easy, trivial coding problems that can be solved in any language in a matter of minutes. Open your text book and look into allocations, I/O and parsing. All you need to know will be there. ----- Original Message ----- From: Ronnill Delos Reyes To: dev...@li... Sent: Friday, September 03, 2010 11:53 AM Subject: [Dev-C++] need help can you make me a program.. just a easy one not that complicated one.... PROBLEM 1 Write a program that displays the menu such as the following: [A] Input integers [B] Input strings [C] Exit program Enter your choice: If choice A or B is selected, the program prompts the user to input a positive integer value, say n, which determines the number of elements (either integers or string) to input. It then prompts the user to input n elements and stores them in an array with a maximum size of 100. After the input, the program displays a menu that looks like the one below (choices A and B should have the same menu): [1] Search an element [2] Display elements [3] Insert an element [4] Delete an element [5] Edit an element [6] Sort elements [7] Back to main menu What do you want to do? If option 1 is selected, the user is prompted with the element to be searched. If the element is found, its position number (index+1) is displayed (e.g. element is found at position 1). Otherwise, an error message is displayed. If there are elements that are the same, all the position numbers are displayed. If option 2 is selected, it displays all the elements currently stored in the array. If option 6 is not yet selected, the elements are displayed in unsorted order. If option 6 has already been selected, the elements are displayed in sorted order. If option 3 is selected, the user is prompted with the element to be inserted and the position number to which the element is inserted. The element is then inserted at the specified position thereby increasing the number of elements currently stored in the array. If option 4 is selected, the user is prompted with the element to be deleted. It uses the search routine to search for the element to be deleted. If found, the element is then deleted which decreases the number of elements in the array. If not found, an error message is displayed. If option 5 is selected, the user is prompted with the position number. Using the search routine, the program displays the current element stored in the position number specified. It then prompts the user for the new element to replace thus replacing the original element stored in the position number specified. If option 6 is selected, it prompts whether the elements are to be sorted in ascending or descending order. Given the choice, the elements are then displayed in sorted order using the display routine. If option 7 is selected, the program goes back to the main menu. The program exits only when choice C is selected from the main menu. Every after routine execution, the program displays the MAIN MENU. PROBLEM 2 Write a program that inputs a string. It then counts and displays the number of characters (including white spaces), and words in a string. Sample run: Input string: My name is Maui! Characters: 16 Words: 4 PROBLEM 3 Write a program that inputs a string. It then displays the string first with the words reversed and the second with the characters reversed in each word. Sample run: Input string: My name is Maui! Maui! is name My !iuaM si eman yM PROBLEM 4 Write a program that inputs a string. It then deletes all the white spaces, punctuations and other special characters leaving and displaying only the letters and digits. Sample run: Input string: My name is Maui! The date today is 02/15/08. MynameisMauiThedatetodayis021508 plzz.... plz repz as much as possible.. i'm going to need this program this monday... ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ------------------------------------------------------------------------------ _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Frederico M. <the...@ho...> - 2010-09-03 17:33:22
|
This list is not for homework assignments.
No one will do this for you. If You read this far, you should really have started typing by now.
Good luck.
--
****** uProtect *******
checkout my now project at http://code.google.com/p/uprotect/
Win SO flash worms protection
Date: Fri, 3 Sep 2010 09:53:29 -0700
From: ron...@ya...
To: dev...@li...
Subject: [Dev-C++] need help
can you make me a program.. just a easy one not that complicated one....
PROBLEM 1
Write a program that displays the menu such as the following:
[A] Input integers
[B] Input strings
[C] Exit program
Enter your choice:
If choice A or B is selected, the program prompts the user to input a positive integer value, say n, which
determines the number of elements (either integers or string) to input. It then prompts the user to input n
elements and stores them in an array with a maximum size of 100. After the input, the program displays
a menu that looks like the one below (choices A and B should have the same menu):
[1] Search an element
[2] Display elements
[3] Insert an element
[4] Delete an element
[5] Edit an element
[6] Sort elements
[7]
Back to main menu
What do you want to do?
If option 1 is selected, the user is prompted with the element to be searched. If the element is found, its
position number (index+1) is displayed (e.g. element is found at position 1). Otherwise, an error
message is displayed. If there are elements that are the same, all the position numbers are displayed.
If option 2 is selected, it displays all the elements currently stored in the array. If option 6 is not yet
selected, the elements are displayed in unsorted order. If option 6 has already been selected, the
elements are displayed in sorted order.
If option 3 is selected, the user is prompted with the element to be inserted and the position number to
which the element is inserted. The element is then inserted at the specified position thereby increasing
the number of elements currently stored in the array.
If option 4 is selected, the user is prompted with the element to be
deleted. It uses the search routine to
search for the element to be deleted. If found, the element is then deleted which decreases the
number of elements in the array. If not found, an error message is displayed.
If option 5 is selected, the user is prompted with the position number. Using the search routine, the
program displays the current element stored in the position number specified. It then prompts the user
for the new element to replace thus replacing the original element stored in the position number
specified.
If option 6 is selected, it prompts whether the elements are to be sorted in ascending or descending
order. Given the choice, the elements are then displayed in sorted order using the display routine.
If option 7 is selected, the program goes back to the main menu.
The program exits only when choice C is selected from the main menu. Every after routine execution,
the program displays the MAIN
MENU.
PROBLEM 2
Write a program that inputs a string. It then counts and displays the number of characters (including
white spaces), and words in a string.
Sample run:
Input string: My name is Maui!
Characters: 16
Words: 4
PROBLEM 3
Write a program that inputs a string. It then displays the string first with the words reversed and the
second with the characters reversed in each word.
Sample run:
Input string: My name is Maui!
Maui! is name My
!iuaM si eman yM
PROBLEM 4
Write a program that inputs a string. It then deletes all the white spaces, punctuations and other special
characters leaving and displaying only the letters and digits.
Sample run:
Input string: My name is Maui! The date today is 02/15/08.
MynameisMauiThedatetodayis021508
plzz.... plz repz as much as possible.. i'm going to need this program this monday...
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ronnill D. R. <ron...@ya...> - 2010-09-03 16:53:37
|
can you make me a program.. just a easy one not that complicated one....
PROBLEM 1
Write a program that displays the menu such as the following:
[A] Input integers
[B] Input strings
[C] Exit program
Enter your choice:
If choice A or B is selected, the program prompts the user to input a positive
integer value, say n, which
determines the number of elements (either integers or string) to input. It then
prompts the user to input n
elements and stores them in an array with a maximum size of 100. After the
input, the program displays
a menu that looks like the one below (choices A and B should have the same
menu):
[1] Search an element
[2] Display elements
[3] Insert an element
[4] Delete an element
[5] Edit an element
[6] Sort elements
[7] Back to main menu
What do you want to do?
If option 1 is selected, the user is prompted with the element to be searched.
If the element is found, its
position number (index+1) is displayed (e.g. element is found at position 1).
Otherwise, an error
message is displayed. If there are elements that are the same, all the position
numbers are displayed.
If option 2 is selected, it displays all the elements currently stored in the
array. If option 6 is not yet
selected, the elements are displayed in unsorted order. If option 6 has already
been selected, the
elements are displayed in sorted order.
If option 3 is selected, the user is prompted with the element to be inserted
and the position number to
which the element is inserted. The element is then inserted at the specified
position thereby increasing
the number of elements currently stored in the array.
If option 4 is selected, the user is prompted with the element to be deleted. It
uses the search routine to
search for the element to be deleted. If found, the element is then deleted
which decreases the
number of elements in the array. If not found, an error message is displayed.
If option 5 is selected, the user is prompted with the position number. Using
the search routine, the
program displays the current element stored in the position number specified. It
then prompts the user
for the new element to replace thus replacing the original element stored in the
position number
specified.
If option 6 is selected, it prompts whether the elements are to be sorted in
ascending or descending
order. Given the choice, the elements are then displayed in sorted order using
the display routine.
If option 7 is selected, the program goes back to the main menu.
The program exits only when choice C is selected from the main menu. Every after
routine execution,
the program displays the MAIN MENU.
PROBLEM 2
Write a program that inputs a string. It then counts and displays the number of
characters (including
white spaces), and words in a string.
Sample run:
Input string: My name is Maui!
Characters: 16
Words: 4
PROBLEM 3
Write a program that inputs a string. It then displays the string first with the
words reversed and the
second with the characters reversed in each word.
Sample run:
Input string: My name is Maui!
Maui! is name My
!iuaM si eman yM
PROBLEM 4
Write a program that inputs a string. It then deletes all the white spaces,
punctuations and other special
characters leaving and displaying only the letters and digits.
Sample run:
Input string: My name is Maui! The date today is 02/15/08.
MynameisMauiThedatetodayis021508
plzz.... plz repz as much as possible.. i'm going to need this program this
monday...
|