132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LizR

[url]http://blogs.msdn.com/charlie/archive/2008/11/04/new-features-in-c-4-0-paper-plus-feedback-and-samples.aspx[/url] and [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&displaylang=en[/url] (Vmware should import the vpc..)

Software Development
Member Avatar for ddanbe
0
90
Member Avatar for extrov

how can i draw a circle divided to many sectors ,each secteor area deppends on specific angle for each sector in the circle , thanx for help , regards

Software Development c++
Member Avatar for extrov
0
172
Member Avatar for Nanor

I'm killing two birds with one stone and revising my Physics by writing a Pascal program: [CODE=Pascal]program ProjMotion(Input, Output); var speed, angle, InitVel, Grav, Time: real; begin; writeln('Hello. This is a program to calculate the time a ball takes to hit the ground. Air resistance is negligble.'); writeln('Please input the …

Software Development pascal
Member Avatar for codeforfun
0
179
Member Avatar for idbgy

Hi, I'm new to Perl but I'd like to know more. For this purpose I downloaded the ActivePerl-5.10.0.104-MsWin32 .msi package and installed it on my computer OS XP Home. Xitami, PHP, MySQL were already installed, and PHP can connect to MySQL. Now I run the following code from the command …

Software Development mysql perl
Member Avatar for KevinADC
0
326
Member Avatar for Bouzy210

I am trying to have the user of this script define what html tag they want printed from a document and then print all lines between those tags. e.g. [ICODE] <html> <p>;lasdjf;lsdakjf</p>[/ICODE] if users raw input is <p> I want to print ';lasdjf;lsdakjf' Right now it doesn't print anything but …

Software Development python
Member Avatar for jlm699
0
153
Member Avatar for BestJewSinceJC

I have a TicTacToe board and I need to draw a line through the X's or O's when someone wins. I know how to use the paint method, repaint, etc (as far as how they're called & the basics). I'm just not sure how to go about actually drawing the …

Software Development java
Member Avatar for BestJewSinceJC
0
92
Member Avatar for seanl1

So I went to my prof. for help with a particular problem and this is the answer I got. I understand the majority of the answer but I have a few more pointed questions. 4. (6 points) A computer has 32-bit instructions and 12-bit addresses. Suppose there are 250 two-address …

Software Development assembly c
Member Avatar for ArkM
0
553
Member Avatar for Nemoticchigga

I am writing to a text file. Everything is working fine, except I can not figure out how to start a newline. I have tried fprintf(txtFile, "%s", "\n"); fprintf(txtFile, "%s", '\n'); fprintf(txtFile, "%s\n", " "); where txtFile is my FILE handle. How do I create a newline? Thanks.

Software Development c++
Member Avatar for Freaky_Chris
0
204
Member Avatar for johnray31

Hi guys .. 1) is there something like that we have a limit upto which we can create a pointer to pointer to pointer.. i.e int ***********P... like this to which extent we can do this 2) is this allowed if in file one i declare a global variable int …

Software Development c
Member Avatar for Narue
0
281
Member Avatar for samush

Hi guys! I wrote a class "Complex" which is representing complex numbers. Nevermind, I was trying to make it a library so i could use it easily in other projects but when i compiled i always got this an error. This is the log from the compilation. [QUOTE]Compiler: Default compiler …

Software Development c++
Member Avatar for samush
0
167
Member Avatar for toolmanx

I program using Win32 API's. I compile with Borland or Microsoft "CL". I am on an XP machine. I use .cpp extensions to compile so C++ rules apply. I'm trying to get the bytes from my screen and send them to a disk file. I get a handle I call …

Software Development api c++
Member Avatar for toolmanx
0
126
Member Avatar for chg

Hello all, I'll start by saying please bear with me, I am very new to python and I need some help takeing a string with mixed letters and numbers and converting it to a INT. For example [code=python] stringname = '105 mV' [/code] I would like '105 'striped from the …

Software Development python
Member Avatar for crono5788
0
150
Member Avatar for dimples09

I have this program and I have made the changes. Now I am trying to implement the stack within my code and im confused. I need to push the environment_types onto the stack but I dont know how. Here is what I have [code=syntax]int X=0, Y=0, Z=0 ; /* Evironment …

Software Development java
Member Avatar for destin
0
75
Member Avatar for new_2_java

Hi Folks, I am making an RMI call to a remost host (Weblogic) and am getting the following nested exceptions [code] weblogic.rjvm.PeerGoneException: ; nested exception is: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is: java.io.InvalidClassException: com.ic.framework.exceptions.ExceptionLevel; local class incompatible: stream classdesc serialVersionUID = 2325229144791754421, local class …

Software Development java
Member Avatar for new_2_java
0
1K
Member Avatar for GaryChine

I have some codes like these: [code] process(void*p1,long lNum1,long Type1,void p2,long lNum2,long lType2,Param * toher...) { switch(lType1) case TIA_8U: switch(lType2) case TIA_16U: CMatrix<BYTE>* pIn = (CMatrix<BYTE>*) p1; CMatrix<USHORT>* pOut = (CMatrix<USHORT>*)p2; Run<CMatrix<BYTE>, CMatrix<USHORT>,BYTE,USHORT>(pIn,lNum1,pOut,lNum2,otherparams....) break; ... } [/code] Now I have a problem: the number of data types is at least …

Software Development c++
Member Avatar for GaryChine
0
88
Member Avatar for britto

hi...... Im doing my main project... im creating an IDE for c,c++,java using java lang... i need to link the program written, to the c compiler... any ideas... then whr can i download the source code for net beans IDE

Software Development ide java
Member Avatar for stultuske
0
167
Member Avatar for mahvash

Hi.. is there any way thwat i can convert my csharp tool to java, since now iam using linux and it doesnot support chsarp, i have to submit my final project in december so need urgent help... <snip>

Software Development java
Member Avatar for dickersonka
0
86
Member Avatar for psycho007

Hi there I was wondering if anybody knew how to change the below code (which currently defaults to a MS Access database) to a mysql database. The below code is apart of a Caller ID software [code=vb6] Private Sub OpenDataBase() Set fo = New FileSystemObject Set wrk = CreateWorkspace("", "admin", …

Software Development mysql visual-basic
Member Avatar for psycho007
0
128
Member Avatar for Nick6425fl

I have 1 line in this code that I can't get to compile. I'm new to C++ and begging for some help...any advise would be appreciated. [code] #include <iostream> #include <iomanip> using namespace std; double population(double pop, double birthRate, double deathRate); void printPopulations( double startPop, double birthRate, double deathRate, int …

Software Development c++
Member Avatar for Nick6425fl
0
148
Member Avatar for fmwyso

Hey, I am wondering how I can grab all the selected strings from a ListBox with multiple selection on... I tried looking for it on google and everything, and I know about SelCount but I haven't been able to find out how to grab the strings or the indexes of …

Software Development c++
Member Avatar for fmwyso
0
462
Member Avatar for ihatehippies

Currently running python 2.6, wxpython 2.8 unicode win32 on the vista platform... When I try to run a sample app in the wx tutorial section the program stops responding as soon as I mouse over it. Heres the code. [CODE=python]import wx """Example with a 2D grid of sizers of sorts …

Software Development gui python
Member Avatar for Stefano Mtangoo
0
155
Member Avatar for Stefano Mtangoo

Hello all, greetings! I have been playing with DB, seom time ago and want to resume soon where i got stuck. I want to make MySQLdb to get working with wxpython GUI. I got stuck on how to attach the tuple I got from select command to series to the …

Software Development gui mysql postgresql python
Member Avatar for Stefano Mtangoo
0
80
Member Avatar for atman

Hello again guys! i have a simple question how to promt user to enter a number for example 444 or whatever and for c to print it as a 9 digit number, so if its 444 c would print it as 000000444? any help would be greatly appriciated., thanx!

Software Development c
Member Avatar for yuvaraj.tr
0
99
Member Avatar for asaness

hi to all, i am a student, 2nd yr.college taking computer science, i want to learn about in coding in SQL except (SELECT, INSERT, UPDATE & DELETE). i just wanted to learn more complex and difficult coding, syntax, command and etc. please help me. thanks!

Software Development sql visual-basic
Member Avatar for jireh
0
98
Member Avatar for samkasarla_nz

Hi , I have a question .. I would like to write/modify the my program ... i.e writing a function to find out which of the directories exists ..... for example : on my computer c:\\sam and in another mechine c:\\xyz ... only one dir should on my computer or …

Software Development python
Member Avatar for jlm699
0
91
Member Avatar for bugmenot

If I initialize graphics in my program and then use cout the font appears bigger than normal and the cursor doesn't blink on the screen as it does when the graphics are not initialized.Is there any way I can use graphics as well as cout in my program?If yes how …

Software Development c++
Member Avatar for asifjavaid
0
777
Member Avatar for Sheryl99

What I need, is one three-dimensional array that holds: 1. Column name 2. MaxLength 3. DataType My code is close, I just can't remember the syntax for adding data to the array. Please help, Sheryl [code=vb] 'get the column information Dim c As Integer = 0 Dim x As Integer …

Software Development vb.net
Member Avatar for iamthwee
0
149
Member Avatar for laks_samy

hi am lakshman i have developed vb.net application and publish it. then i have login administrater user in vista os, then i have installed my vb.net application its working fine. But same pc same vista os now i have created new standard user then i installed same vb.net application but …

Software Development vb.net
Member Avatar for jbennet
0
212
Member Avatar for guest11

I am creating vb appliction in which there are 20 forms i want to create two command buttons named current and previous forms. Can anybody tell me how i can do this ? I want guide line. Thanks in advance regards

Software Development visual-basic
Member Avatar for jireh
0
115
Member Avatar for johnray31

I am just trying to explore c and i was wonder what is reason behind ... segmentation fault.. but second function is workiing .. can someone explain me reason [code=c] void myfunc1(char *t) { t = t+1; t = 'l'; //it gives segmentation fault ? why } void myfunc2(char *s) …

Software Development c
Member Avatar for ArkM
0
127
Member Avatar for edensigauke

hello everyone. i have been trying to code an MP3 player, but Java does not support this, it only supports wav, thus wma, mp3 and other music or audio formats are denied. i thought of incoporating a converter, but still the converter is even failing to make the conversion: here …

Software Development audio file-stream java java-swing
Member Avatar for stultuske
0
164
Member Avatar for jgelderloos

im working on an encryption program and i need some help. so far it words fine except when i enter a space. when this happens it seems to end the loop and spit out the first word. any help would be great [code] #include <iostream> #include <string> using namespace std; …

Software Development c++ encryption
Member Avatar for cikara21
0
198
Member Avatar for Tank50

HI Guys I Want to create service which monitor the another service in server,I search in google and find the coding part to do that,It works for local machine without any problem ,but I configure it to remote computer,it gave me error called "The RPC server is unavailable".I cant do …

Software Development
Member Avatar for LizR
0
99
Member Avatar for rockX

I have about 5000 columns of data that i need to convert all of it into pecentages. for shorter colums i have been using this code: {print $1/($1+$2)*100,$2/($1+$2),$3/($3+$4)*100 .....} but this is a teadious process... with help i got this sed "s/[0-9]*.[0-9]*/&~/g" | tr "\n" " " | tr "~" …

Software Development shell-scripting
Member Avatar for eggi
0
179
Member Avatar for caoboipro

:?: :idea: Anyone can help me or give me code C/C++ of detect sound from speaker ex If have sound from speaker report " currently have sound" If not "currently not sound:zzz: "

Software Development c++
Member Avatar for Ancient Dragon
0
126
Member Avatar for ealion
Member Avatar for seanl1

Just trying to compile some code with tcc: [CODE] #include<stdio.h> main () { int x = 10; int *p; p = &x; x = 40; printf(“%d %d %d %d”,x,&x,p,&p); } [/CODE] Trying to learn about pointers and memory addresses and I took the code right out of the book, any …

Software Development c
Member Avatar for seanl1
0
78
Member Avatar for sourceofthought

Hello there Sorry in advance if this post is to big, not sure where else to go. I have just started out with python (last 2wks) with no previous Programming background. I have been really excited with the possibility of been able to program with python and to hopefully develop …

Software Development machine-learning python
Member Avatar for sourceofthought
0
122
Member Avatar for Nick6425fl

I'm a newbie at posting code so I'm sorry if I make any mistakes. The 26 line won't let me compile and I don't understand why. can anyone help me??? [code=cplusplus] #include <iostream> #include <iomanip> using namespace std; double population(double pop, double birthRate, double deathRate); void printPopulations( double startPop, double …

Software Development c++
Member Avatar for Nick6425fl
0
120
Member Avatar for piznut25

Write a C++ program that reads in the historical average monthly rainfall for NY for each month of the year and then reads in the actual monthly rainfall for each month in 2007. Finally, the program should print out a nicely formatted table showing the average rainfall for each month, …

Software Development c++
Member Avatar for VernonDozier
0
97
Member Avatar for kyeong

I'm having trouble implementing isalpha in the correct spot. When I put it in the if statement, it doesn't determine the palindrome correctly. It says everything I entered is a palindrome. Then I try to implement it with the int k, but then it gave me "parse error before +," …

Software Development c
0
52
Member Avatar for Nick6425fl

I can't get it to compile. Here are the instructions for the assignment: Write a program that determines which of a company’s four divisions (Northeast, Southeast, Northwest, and Southwest) had the greatest sales for a quarter. It should include the following two functions, which are called by main. • double …

Software Development c++
Member Avatar for VernonDozier
0
288
Member Avatar for squiddog

Hi all - I need some advice on how to handle multithreading in a GUI. I wrote an application in C# using only the GUI thread (see screenshot) and at times there are "long operations" where the database is being accessed and the right hand pane is being filled with …

Software Development c c# c++ gui multithreading
Member Avatar for Jugortha
0
136
Member Avatar for DeadJustice

I can add a new node if the head is empty, but I can't attach a new node. Instead I get a null pointer error. Can anyone see what I'm doing wrong. I think I've been staring at this for too long. EDIT: Forgot to say I'm adding the Nodes …

Software Development java linked-list
Member Avatar for DeadJustice
0
1K
Member Avatar for jbennet

Okay i need this quick please i am kind of stuck basically i have got to find the highest and lowest numbers out of four integers. Is there a function in java.math or do i need to make one using a loop maybe?

Software Development java
Member Avatar for jbennet
0
107
Member Avatar for amerninja2

[B][COLOR="Red"]Can someone please help me to understand how to read and write unicode from/to a file? also how to set and print a variable to/with unicode (like a wchar_t variable or whatever.)? Im at an intermeddiate lvl in C++, and when I search this on google I don't understand a …

Software Development c++
Member Avatar for NekoGráfico
0
118
Member Avatar for dnmoore

I have the following GUI code but my JLabel for results doesn't work when either of the buttons are pushed [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results; private JButton output_f, output_c; private JTextField temp, fahrenheit, celsius; public TempConverterPanel() { setLayout …

Software Development gui java java-swing
Member Avatar for dnmoore
0
97
Member Avatar for desiman

I have to parse the following file in C and call like specific things like ingridients, time and stuff, so how do I go about storing it in a file. The recipes repeat over and over in same format. ************************ Recipe: "Creamy" Salmon Over Pasta By: Skinny One-Pot Meals, Ruth …

Software Development c
Member Avatar for ddanbe
0
112
Member Avatar for programmingme

I need to make this program pass by reference. How can I do that? [CODE] import java.io.*; import java.util.*; public class Convert { static Scanner console = new Scanner(System.in); public static void main(String[] args) { int pounds; int lb; int oz; int totalOz; int lbs; int ozs; int totalOzs; //Calling …

Software Development java
Member Avatar for programmingme
0
145
Member Avatar for flying

Looking to figure out how to do set an at job up from within a shell script w/o using the -f option. The at -f option provides no method (that I can determine) for passing additional command line parameters to the file. I have explored trying to use stdin redirection …

Software Development shell-scripting
Member Avatar for omrsafetyo
0
245

The End.