132,726 Archived Topics
Remove Filter ![]() | |
This is an application of the Python Image Library (PIL) and shows you how simple it is to do pixel math on an image. | |
This code gets the local time from your computer, formats the date and the time and displays the result. Does not include the bavarian time measurement of how many steins you have finished since you got up in the morning. | |
You can have fun and learn something too. Not too much fun though! Here we take a lighthearted look at C++ string, various ways to assign a string and substring, spell forward and reverse, find characters and substrings, append, insert, replace, remove characters, separate a sentence into words and more. Software Development c++ | |
Let's say you worked in the White House and had to keep two lists, one for the friends and one for the enemies. The boss came to you and said: "The Almighty talked to me out of a burning bush last night, telling me that I shall make my enemies … Software Development c++ | |
Using the C++ Standard Template Libraries (STL) can be easy, once you know how to do it. No need to putz around with doubly linked lists anymore! Here is code showing how a STL list allows you to add, insert, remove, sort, splice, merge, display, and clean-out-duplicate strings. Software Development c++ linked-list | |
Get simple information like serial number, bytes/sector, sectors/cluster, free and total disk space of your hard drive using Windows API calls. Software Development api c hard-drive windows-api | |
This program shows how to display a JPEG (also GIF,BMP,WMF etc.) image using some Windows Graphical User Interface C code. The program uses the uuid.lib file that comes with many C compilers. Software Development c gui image user-interface | |
This code demonstrates AVL insertion and deletion. The code was originally written in C by myself a little while back for a tutorial. The translation to Java was fairly trivial, and to add a little excitement I even threw in a few generics. Yes, I'm aware of this line: tree.data … Software Development java | |
Use a Windows API call to add some color to your text output. A rewrite of an earlier C++ snippet for the C crowd. Software Development api c windows-api | |
The continued fraction expansion gives us the answer to life's most persistent questions, like what is sin(x) or even tanh(x). This surprisingly short code allows you to estimate SIN, COS, TAN, EXP, SINH, COSH and TANH fairly accurately. Careful, this code is not for the usual TV crowd! You should … Software Development c mathematics | |
An example of method overloading. The program calls a function to get the square root of a number. The appropriate function (integer or double version) is executed. Software Development java | |
These are my instructions: - create a class containing a 10x10 two-dimensional array of characters. - class must have a constructor that puts the '.' character in each element. - In main, I must allow the user to enter an 'X' into six different spaces in the 2D array. (we're … | |
Ive been working on this poker program for a while now and ive tried several different ways to make a poker game...i have to make it using very basic c++ ...ill try to post what i already have done Software Development c++ first-post | |
Since listview control in .net framework 2.0 does not have a datasource property, it is not bindable to neither datatable nor generic lists. i created a derived custom listview that is bindable to lists of any type. i attach the .zip to this thread. I dedicate this custom windows control … Software Development listview | |
[U][B]Guidelines to OPs:[/B][/U] [U]Before you start a thread:[/U] Starting a thread is a critical task. It is so because it demands time and attention of other forum members. A thread should only be started when you have done enough drill to find your answer else where. You should always be … Software Development python | |
hi I am new in c++ although I am reading about ti for a while now :). recently a made a silly code that I can not compile so please some help about it. ps: befo you even star to read it the following errors ocure while compilling [B]Undefined reference … Software Development c++ | |
Hi all, I'm having some trouble with my program, I know my copy and my clone function is correct, basically I just need to create the functions to achieve the desired result. Here is my code so far [code=c] #include <stdio.h> #include <stdlib.h> // helpers size_t length(const char *s) { … Software Development c++ | |
I w'd like tom Download Turbo C (window version). Can any one sugget any site, thank in advance :confused: Software Development c | |
Heres the code, im pretty sure i missed something really stupid, No matter what number i type i get "The number oyu type must be a positive number" so i guess the problem is either in my if statements in main or in the checkuserinput function, most likely in my … Software Development c++ | |
Hi, I am developing an application to generated Jasper Report. I am using Netbeans 6.5, jasperReport 3.1.3. I am developing it using Visual web JSF. My JSP file is [CODE] D:/Programs/Java/JasperReports/EmployeeReport/web/Page1.jsp [/CODE] My report file is stored in [CODE] D:/Programs/Java/JasperReports/EmployeeReport/web/WEB-INF/reports/employeeReport.jrxml [/CODE] I have used following statement to specify my source … Software Development java java-jsp java-netbeans pdf | |
Hey, i am working on a project in which i am making a minesweeper game. The game part was written by my prof. all i had to do was make the class and header to run the background of the game. I have done so successfully, but i am having … Software Development c++ | |
Hi Group, for a project[1] I am trying to find an OS independant way to measure the amount of cpu usage and memory consumption of the program. It would be nice if I could do that in my C++ code, so I can show the results at runtime or even … Software Development c++ first-post google | |
help for this... want to set an attribute of file. 4 status Hidden, archive, system, read only. thank you all... Best Regards Neji Software Development visual-basic | |
Hi everyone, I was wondering if anyone can recommend a good java ide. I have tried netbeans but i find it very confusing to use. I am looking for a very simple but free java ide to use. Can anyone recommend. Thank You Richard West Software Development ide java java-netbeans | |
![]() | I want to read files and folder names from directories. I have used the following code. But the problem is that in the output the file name gets truncated.[I](See the output below)[/I] [code=C++] #include <dirent.h> #include <stdio.h> #include<conio.h> void main(void) { clrscr(); DIR *d; struct dirent *dir; d = opendir("."); … Software Development c ![]() |
Hi all... I m working for my graduated project. and my method in using is Genetic K-means Algorithm. i m using vb.net 2003 and sql server 2000. Does Anyone know a sample code for this?or a website / link for this topic??? please help me... any reply really appreciated... Thx.Best … | |
i want to search data from access database and display it in datagrid. please help me.. thanks in advanced....:) Software Development visual-basic | |
i make push procedure but its not working, there something wrong with my code?? please see my following push procedure : [CODE=pascal] procedure PUSH (var T: Stack; var Full: boolean; X: integer); begin if T.Top = MaxElemen then Full := true else begin T.Top := inc(T.Top); T.Contain[T.Top] := X end … Software Development pascal | |
Post your tips for making life easier in C and C++. I'll start: [SIZE=3][B]Standard vector object initialization[/B][/SIZE] The biggest problem with the standard vector class is that one can't use an array initializer. This forces us to do something like this: [code] #include <iostream> #include <vector> using namespace std; int … Software Development c c# c++ first-post | |
hi masters.... does any one know how to flash window form ?? i don't have idea to do this problem.. please help me.. best regards Software Development flash visual-basic | |
wap to print following pattern?? [code] ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A [/code] the pattern is not showin up proper,,but hope u guys get it.. its kinda /\ shape formation b/w those letters this is wat i tried out..... int i,j....; int m=65; … Software Development c | |
I've been writing my own implementation of stdio.h whenever I get a few spare minutes recently. Nothing fancy or thorough, and without wide character support, it's hardly conforming. But I was looking at one of my intermediate versions of printf and could only marvel at how ugly it was. So … Software Development c | |
[code=c] /***头文件(.h)****/ #include "stdio.h" /*I/O函数*/ #include "stdlib.h" /*其它说明*/ #include "string.h" /*字符串函数*/ #include "conio.h" /*屏幕操作函数*/ #include "mem.h" /*内存操作函数*/ #include "ctype.h" /*字符操作函数*/ #include "alloc.h" /*动态地址分配函数*/ #define N 10 typedef struct nw /*定义数据结构*/ { char word; /*生词*/ char acceptation; /*词义*/ char aspirate; /*音标*/ int no[N]; /*序号*/ char note; /*注释(包括词性,例句等)*/ struct nw *next; }NEWWORD; … Software Development c | |
For those of you who haven't heard of or used AutoHotKey check it out here [URL="http://www.autohotkey.com/"]http://www.autohotkey.com[/URL] for the rest of you I made a really simple script for Dev-C++ to add some speed to it. (I had more in the script but they were things only I would remember and … Software Development c++ | |
One large chemical company pays its salespeople on a commision basis. The sales people receive $200 per week plus 9 percent of their gross sales for the week. For example a sells person who sells $5000 worth of chemicals in a week receive $200 plus 9 percent of $5000, or … | |
hi can anyone tell me please what is segmented error , i have made a program in c on linux and when i am running it after compiling , after a few inputs it shows segmwntwd erroe. what is this??:?: Software Development c | |
Hi, Hi friends i am new to this site.Am happy to tell you guys out there that i liked this site and all the effort that everyone has put to keep this site going. Now coming to the point,i need to decide on a project possibly in c/c++/java which is … Software Development c++ operating-system | |
Hello guys. Thanks for the help in the previous posts. This one is regarding pointers in C language. Does 1) c = *a and 2) *a = c mean the same thing? I think they are. Are they? Thanks for the reply. Software Development c | |
[COLOR=#000000]Write the following functions[/COLOR] [COLOR=#000000][B] [/B]draw_circle – draws a circle[/COLOR] [COLOR=#000000] draw_intersect – draws intersecting lines[/COLOR] [COLOR=#000000] draw_base – draws a base line[/COLOR] [COLOR=#000000] draw_triangle – draws triangle using intersecting lines and base line[/COLOR] [COLOR=#000000] draw_rectangle – using baseline and parallel lines[/COLOR] [COLOR=#000000] skip_5_lines – skips five lines between each … Software Development c++ | |
can somone help me! where can i find a turbo C compiler that has a BGI! Coz i have a program that have some graphics but i can't run it through my compiler coz it doesn't have a BGI! is there someone who knows where i can find a complete … Software Development c++ | |
i have a string that i want to convert to double. i know atof is a standard library function for that, however, the input argument to atof is (const char*), not string type that i have. does anyone know how i might convert my string num to double ? thanks … Software Development c++ | |
I know that lambda is some kind of function in Python. What does it do? Why would one use it? Software Development python | |
hai , i am doing my final year project work. It is about buliding an Interactive voice response system. I have chosen VB and Oracle 8i as my tools. i want to know whether i can develop an implement an IVR using Vb 6.0 or not. If so how to … Software Development oracle visual-basic | |
I am writing a Win32 Console application and I need to change the font size to 18x10 pixels. I think this can be done with a function in windows.h but Im not sure which one or how to do it. Software Development c | |
Hi everyone, I just came home from a software conference in nagoya, Japan where they had any kind of software you can think of on this planet. There was one talk i went for and i think its quite interesting to have it discussed fully here. Alot of the companies … Software Development c c# c++ display java-swing operating-system software-architecture | |
Shameless plug: [url]http://steve-parker.org/sh/sh.shtml[/url] A bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Centres on the Bourne shell, but mentions when bash differs. Does not cover ksh/csh (considered harmful). Applies to UNIX and Linux. Software Development shell-scripting unix | |
This is giving me a headache...can someone please tell me why these statements ARE NOT equivalent? Statement 1.) if(running_result && shell[8 * (x - 1) + (y - 1)].input_val) running_result = true; else running_result = false; Statement 2.) running_result &= shell[8 * (x - 1) + (y - 1)].input_val; ------------------------- … Software Development c++ | |
:mad: :mad: :( :( I've been trying to write this program that is suppose to read in a text file manipulate in and give the following out put infact here is the question Implement a program that uses a form-letter template to generate form letters. Your program should read in … | |
This might be a oversight by me but when I compile and the programs runs I get this error:park.cpp(11) : error C2065:'hours' : undeclared identifier [B]if (hours<=3)[/B] this is code from my program park.cpp(34) : error C2447: missing function header (old-style formal list?) What is this------->(old-style formal list?) Maybe I'm … Software Development c++ |
The End.