132,726 Archived Topics
Remove Filter ![]() | |
Is there any macros in DarkGDK like this: [code=c++]#ifdef __DARKGDK_WINDOWS #include "MY_WINDOWS_HEADER.h" #else #include "MY_LINUX_HEADER.h" #endif[/code] any help would be appreciated, thanks in advance! Software Development c++ | |
I am some-what new to programming in python, and i'm trying to make a game but I need to know some of theses thing. Sprites I have sprites created, but how do I import them and print them on the screen? Movement I am completely clueless on how to make … Software Development python | |
[B]I am developing one project in C language,In it several records are there... By maintaing those kind of records,I easily store the record name {For eg. filename 1 filename2 means i know how to store it by using 2 Dim. array but i dont know how to print it or … Software Development c | |
hi guys how r u doing .. i am trying something in java .. i want to know if there is a way to the java looks into the current year. i want to be to return the age of someone after filling in his birth year .. and then … Software Development java | |
I'm from a C background and need help with the following lines of code [CODE] struct IGame { // Summary // Entry function used to initialize a new IGame of a GameMod // Parameters // pGameFramework - a pointer to the game framework, from which a pointer of ISystem can … Software Development c++ | |
[CODE]#Python code: import csv # first we need import necessary lib:csv file=open("dinesh.csv") #prepare a csv file for our example testWriter = csv.writer(open('dinesh.csv', 'w'), delimiter=' ', quotechar='|', quoting=csv.QUOTE_MINIMAL) spamWriter.writerow(['Test'] * 5 + ['Wow'])[/CODE] [B]Error:-[/B] <type 'exceptions.IOError'>: invalid mode: w args = ('invalid mode: w',) errno = None filename = None message … Software Development python | |
Can anybody tell me how should i generate automatic sr no which match with mr no. i have written a code but it is not working properly. [code] Dim crystal As CRAXDDRT.Application Dim Report As CRAXDDRT.Report Dim cparam As CRAXDRT.ParameterFieldDefinition Dim cparams As CRAXDDRT.ParameterFieldDefinitions Dim con As ADODB.Connection Dim rs … Software Development open-source visual-basic | |
Hi this is useful links for new [B].NET [/B]developer or any body who is new to .NeT These link contain most of FAQ of window form [url]http://www.syncfusion.com/faq/windowsforms/default.aspx[/url] [url]http://windowsclient.net/blogs/faqs/default.aspx[/url] 101 Visual Basic .NET Code Samples provides a large group of well categorized and documented examples of code. This is a very … Software Development asp.net vb.net visual-basic | |
How can I find the L.C.M of a series of numbers Software Development c | |
Hello, I know it may be silly to ask this but I m stuck with this: so please help I have two classes in the same namespace [QUOTE] 1. Setting_Layers_Path class files Which helps in establishing connection to the layers(GIS connections). It contains number of functions which return an object … Software Development | |
Hi, I've just started a Java course, which is giving me trouble because I've had so much unscheduled overtime. I have three programs due that have small problems that I can't fix no matter how many changes I've made. They are really basic, but I've only been one week into … Software Development java java-swing | |
I'm starting to get the hang of writing VB.NET code--very simple jobs, but covering some esoteric subject matter. The first two tasks I needed to accomplish came about because I decide to import my (rather large) CD collection onto my new (also rather large) external hard drive; I used Apple’s … Software Development hard-drive vb.net | |
Hi guys, I have written some C++ code to do three things: 1. Read data from a delimited file (user specifies type of delimiter used), and return data as a "2D array". 2. Print 2D array to console. 3. Write the 2D array to a tab delimited text file. I … Software Development c++ file-stream file-system ios | |
hi i just visited n joined this community. Actually i had no idea about these languages n i wan to learn them starting from c will u tell me a good site or any suggestion how to learn Software Development c | |
hi i am currently doing a project, and want to build in MFC...however i have just started working on it and find it really confusing... i have some doubts..please clear it as this is really very urgent(i have to complete the gui in a very short time) 1) I have … ![]() | |
I'm in the process of writing a program that generates six random numbers. If I run the program I have so far, there's a bit of a problem. It is possible for this code to generate the same random number more than once. Generally speaking, lottery tickets require the numbers … | |
Hi all, I have a SQL table that has "RecID" as it's PK and identity column in the same time. When I add a new record in the table directly, the [B]RecID[/B] increments correctly. But when I try to add new record in data grid view (VB 2005 Express) and … Software Development vb.net | |
Hey Guys, Im having a spot of trouble with dynamic memory allocation and any help would be appreciated. My problem is the I have 2 classes Bank and Account and I am making a dynamic array of the Account member variables. Everything seems to work fine until I try to … Software Development c++ | |
After the treeview is filled is possible to: count how may AG-xxxxx are in 8501-xxx, count how may items are in each AG-xxxxx, , count how may items are in each SETT. -xx, ....ecc and store the result in a var or count during the treeview is filling and return … Software Development visual-basic | |
Hi all, I have developed a software that is basically a Question Paper Maker, I have stored all the questions in a MEMO field in an MSACCESS table. Now while I try to print the random questions on a report, it shows the question with all the rtf codes and … Software Development visual-basic | |
Im trying to make a counter that tells how many times a name appears with array. I am using a scanner that read the names from a file and stores it an array. It then uses random class to pick a random name. I then stored all the names that … Software Development java | |
[CODE]void getinput(char sentence) { cout << "enter something => " << endl; char ch; cin.get(ch); int count = 0; int i = 0; while(ch >= ' ' || count >= SIZE) { if (isalpha(ch)) { [B] [COLOR="Red"]sentence[i] = ch; [/COLOR][/B] i++; } cin.get(ch); count++; } }[/CODE] This is the function … Software Development c++ | |
hello everybody, I am installing some (~10y old) research software which must have been using vb4, because when I started installing it failed because it was looking for vb40016.dll (got that) than oc25.dll (got that one too), and then PUSHHELP.VBX. This is where I got stuck, there a lot of … Software Development vb.net | |
I have made a base class and a derived class and I am having a couple compile errors. [QUOTE]SavingsAccount.hpp(9) : error C2512: 'Account' : no appropiate default constructor available[/QUOTE] What i want to do is be able to give the savings account an inital balance and it changes the currentBalance … Software Development c++ | |
ok what i need to do is to make a script function which allows me to change the records in a file. I read some other posts about using sed but i still could not get it to work. The function runs But nothing changes in my file. This is … Software Development shell-scripting | |
What operator would I use on a variable to increase it for addition from another variable. Thinking loops perhaps. Like the loop add's data to that variable but plus's it on, instead of changes it. So 50 + 60 = 110, instead of 50 + 60 = 60. Also, if … Software Development c++ | |
(Using MS Visual Basic 2008) Hi, I have been ask to create a program that allows the user to input the hours worked and the payrate for a number of employees (note: Hours work and the payrate can all be differ, there is no set payrate), the number of employees … Software Development c++ visual-basic | |
hi i have program in clien and program in server the connected by winsock i want send more than one variable by winsock1.SendData how i can send it its from diffrent type x as integet s as string y as string i want send x , s and y and … Software Development visual-basic | |
hello everybody, I am installing some (~10y old) research software which must have been using vb4, because when I started installing it failed because it was looking for vb40016.dll (got that) than oc25.dll (got that one too), and then PUSHHELP.VBX. This is where I got stuck, there a lot of … Software Development visual-basic | |
Im getting these two errors, here is the whole code besides the edits and i know the edits works so their not important here. Error 6 error LNK2019: unresolved external symbol "int __cdecl loadArray(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const (* const)[2])" (?loadArray@@YAHQAY01$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _main Q6_A1_CODE.obj Error 7 fatal … | |
Okay, I am a new student (to Java--well programming in general) and the first assignment we have is to create a program that computes the future value of an investment based on three user inputs (principle deposit, interest rate, and length of term in years). First of all, I am … Software Development java | |
Hello, I downloaded some code from coreservlets.com and put the code on BEA WebLogic 8.1. The code is actually from ch4 of the book "Core Servlets and Java Server Pages (Hall/Brown)". I wanted to run a particular html form that one fills out then goes to a servlet. The html … Software Development java web-server | |
I'm new in Java and supposed to write a program that prints a number into a diamond shape. It doesn't print correctly, can someone point out where I'm messed up? [code] private static void diamondOfAsterisks(int number) { int spaces = number / 2; int stars = 1; int row; int … Software Development java | |
hi i have vb program in client connect with vb program in the server by winsock clinet will send data to the server and server will add data to the data base access data base how i can work with access in vb 6 program ? how can i add … Software Development client-server visual-basic | |
I'm writing a program to gain info and then print it. Problem is when a person enter $1231 for my account the $ crashes it. I would like to use cin.peek to check if it is there if it is delete it so far i have [code] cout << "Balance … Software Development c++ | |
This is such a simple issue, it's embarrassing to have to ask.. but I've been having trouble with this theoretical issue of defining string arrays (and even integers!) outside of their class. Here's some code: [CODE]#include <iostream> #include <string> using namespace std; class desu { public: string ok[4]; // Give … Software Development c++ | |
suppose i want to do shift left opeartion on x=1010 y=x<<1 it will shift left the value & make x=0100 but how can i store that shifted value... in other variable...? please help me to solve this query Software Development c | |
Ok I have a problem here. I'm in my game engine class and for some unknown forsaken reason they decided to teach console c++ then jump to c# for windows apps, then back to c++ to do directx apps, so my skills with c++ and windows apps is well krappy. … Software Development c++ | |
I need a code that when I'm given two number, the computeer gives me back 4 integers ex) user gives me: "3 & 6" The computer displays back: "3,4,5,6" Software Development java | |
I'm VERY inexperienced in programming, I'm just learning the very basics. Anyways, I just figured out how to add a "pause" line to keep the program from closing as soon as I run it, but now there's a nasty "Press any key to continue" after my text. Is there a … Software Development c++ | |
Hey ya'll For one of my assignments I gotta produce some small VB programs. One of them has to be a menu. A menu that does whatever I want it to. I can't find any tutorials that help :| I have [B]Visual Basic.Net 2003.[/B] I know how to ADD the … Software Development vb.net visual-basic | |
hey guys im trying to get my html and python cgi script working together to show the users selections of the checkboxes of bulbs and add them up aswell plus the method they wana pay once they pretty the submit form button.. here is my html code: [CODE]<html> <body> <form … | |
Hi, First of all, i have a Resources.h file, which has the following statement: [CODE] #include <iostream> #include <string> #define string Greeting "Hi" [/CODE] So i also have Prompt.cpp; [CODE] #include <iostream> #include <string> #include "Resources.h" int main() { cout << Greeting << endl; system("pause"); } [/CODE] But, i have … Software Development c++ | |
Hi, as you can understand from the name, I am new in VB. So I have 2 questions regarding buttons: 1: I have an array of buttons created like this in the code: [CODE]Dim buttons(10) As System.Windows.Forms.Button[/CODE] I need whenever each one of these buttons is clicked to invoke the … Software Development vb.net | |
Can someone point me in the right directions. I have to build on an existing mortgage program. I have to pull interest rates in from an external txt file and have them populate my array. The array will then be used in a combobox pull down. I don't know which … Software Development java java-swing | |
A string is input which is both in uppercase & lowercase letters. How can I arrange the string so that all lowercase letters are in one side and uppercase letters are in another side. Software Development c | |
Hello everybody! I am new to the site and to java. I am in week 2 of my java class now and still not sure if I am enjoying it. Unfortunately I would say it is my weakest link in the IT field so I picked this class on my … Software Development java | |
Hello, Can any of u help me with this assignment.. I tried to do it myself but cuz I'm new in Object Oriented my program was full of errors that I don't know how to fix :( Please help me as soon as possible.. here is the question: Write class … | |
hello people, its the very first time im doing programming stuff.And i have done nothing so far.I found a booklet in my bookcase,it's about C++.,ts just the first booklet of a serie. i use visual c++ 2008 express,i did new>file>C++ i used the same codes as in the booklet,here it … Software Development c++ |
The End.