132,722 Archived Topics
Remove Filter ![]() | |
Its about visual basic. I am making an application for loan system.. I don't know whats the code. It goes like this, the situation is: * Count how many times does the CO-Maker grant already a loan. Need help for this. Software Development visual-basic | |
My instructor wants us to create a program that relates to some event we have recently gone through and I need help to get the rest of the code to work. Scenario I passed by the instructor is : I just got a car which my grandfather paid in advance … Software Development c++ ios visual-studio | |
I'm running into a roadblock on my program and the deadline is Tuesday(9/14). I'm at work all day and I'm hoping the interwebs can help me while I'm away (i can check @ lunch). I'm very new to Java and I'm still trying to digest the terminology so any clear … Software Development java java-swing | |
I am trying to get an array sorted but I can't figure out how to correctly write the "if" statement in the sort method. I have been given the task of sorting the arrays by product name. I am not done with the program, but what I do have so … | |
can anyone teach me how to set the size of console window? Software Development c++ | |
I think I'm having trouble with using parameters correctly in the JUnit assert in my Test method. My assertion fails even though I'm pretty sure my logic checks out. How do I construct the correct test with assert? Any pointers appreciated :) [CODE]public String season(int month, boolean inNorthernHemisphere) { // … Software Development java | |
Hey folks, recently I wrote a small application in java where it generates ip addresses in a 192.168.x.x block, and then proceeds to ping them to see if the address is available or not. The main issue with it right now is that it's extremely slow when I tested it … Software Development java multithreading | |
Mingw shows [code] ----- CurlT ( MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) curl.cpp C:\MyApps\CurlT\curl.cpp: In function 'void* getfile(std::string, char*)': C:\MyApps\CurlT\curl.cpp:39: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime C:\MyApps\CurlT\curl.cpp: In function 'int main()': C:\MyApps\CurlT\curl.cpp:57: warning: deprecated conversion from string constant to … Software Development c c# c++ file-stream | |
Hi, I've been developing some code that parses output reports and re-reports on information that is of interest. I utilize strtok quite heavily in this program and I have run into the situation where my final strtok call may or may not return some info. Depending on if there is … | |
Ok, so I'm writing a program to convert decimal into binary. It all works with the exception that my binary shows up in reverse order and I'm having trouble with reversing the array of chars in my intToBinaryString() function. Any tips on how to get this started? [CODE]#include<iostream> #include<cstring> using … | |
Hey, at my camp, I made a random 3D maze gen off of OpenGL So, I downloaded OpenGL 3.7, and I placed the glut.dll in the right place, the header file in the right place, the lib file in the right place etc. But my conflict is that I used … | |
Hello. im a student working in C++ and im fairly new to both C++ and i guess this community.(i was reccomended to come here if i had problems) im just doing some simple exercises or s it seemed. here is the question. Write a C++ program with a case structure. … Software Development c++ | |
hi ive developed a code to sort 3 numbers and pick out the middle one. the numbers are distinct. #include<iostream> using namespace std; int main( ) { int X, Y, Z; cout<<"please 1st number "; cin>>X; cout<<"please 2nd number "; cin>>Y; cout<<"please 3rd number "; cin>>Z; if (Z>X>Y) (Y>X>Z) cout<<"this … Software Development c++ | |
I am porting software from a VS compiled program to my Mac. In this code, __m128's are used ALOT. An example of this error would be: Projector.cpp:1014: error: request for member ‘m128_f32’ in ‘v4Max.Vector4::fVector[2]’, which is of non-class type ‘float __vector__’ I have included both xmmintrin.h and emmintrin.h, but the … Software Development c++ mac-software | |
Hey there everyone, I'm working in windows, writing a python program which runs various programs through command line and pipes the outputs of one into the next program. All the programs accept all instructions in one line then run. I've been using the os.system command to run these. One program … Software Development python | |
So I created this nice PushButton that has a popmenu. Unlike QToolButton, it does not allow me to hide()/show() the button which I find frustrating. I want to be able to hide/destroy this button while the application is in a certain mode and then show/create it in another. How do … Software Development python | |
Hello I have seen the following method syntax and I am trying to understand how this works/or doesn't: public class MyClass { public MyClass(); public MyClass(string param); } There is no implementation of the methods (constructors) and class is not declared virtual either... Is this something new in C# 3.0 … Software Development | |
Hey, im new to the forum. I can code simple programs easily, like I coded a random maze generator with some help. But I was wondering if someone could teach me how to make the source for the practice and explain to me why you coded it that way. Write … Software Development c++ | |
Hi everyone,i am seeking your help. I am trying to program the PIC 16f877 microcontroller to accept multiple analog inputs and give readouts on the 7-seg display. the conversion is of a 10 bit resolution. my problems are that i cannot seem to get the pic to correctly display the … Software Development assembly | |
[CODE] #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out"); fprintf(stderr,"hello-err"); sleep(1); } return 0; } [/CODE] why is that i am getting heelo-err instead of hello-out Software Development c | |
In C++ the ternary operator below will return 1. [CODE] true ? 0 : 1 [/CODE] In C# it will return 0. If the following is written in C++ [CODE] int x = ((a < b) ? 1 : ((a > b) ? -1 : 0)); [/CODE] what the heck … Software Development | |
I cant get this program to work I can get it to read in the file and enter the winning numbers but it just ends after it. the program is supposed to take in a file (input.txt) and make it into a list of structs with peoples names and lotto … Software Development c | |
Help: This is my first time on this site , and I have this assignment i been working on and i'm lost someone please help Here is the problem : 1.) A government research lab has concluded that certain chemicals commonly used in foods will cause death in laboratory mice. … Software Development java | |
I am planning to develop a graphical project for my final year..Which tech should i choose? Microsoft Silverlight,Macromedia flash,Macromedia Shockwave,ajax etc, which of these is simple,scalable and platform independent?which combination of frontend and backend will be the best? | |
First of all, forgive my lack of knowledge, I am fairly new to programming but I have a high level of interest in the subject. We were working on a bit of code in class yesterday and we even stumped our teacher, who then took most of the class trying … Software Development | |
Hello friends, I have a small problem, I need to check if the database connection is still open. Here is my code... [CODE=csharp] try { // new connection // connection open // other code // close the connection } catch (Exception ex) { // handling exception } finally { // … Software Development | |
Does anyone know how one would go about creating a "custom" file type? (Such as Macromedia Flash's .swf.. or quicktime's .mov) Also.. once I have created a custom file type... how would I make sure that my file is always associated with a given icon (that I will create).. and … Software Development c++ file-system flash | |
Im a beginner level programmer in C and want to know how can I use malloc or calloc functions for dynamic memory allocation without typecasting...? Software Development c | |
Hello Everyone , I'am new to OOP and QT and i'm trying to write a simple chat program (client , server) with winsockets. I Have an error which i don't seem to understand : this is my code so far : [CODE] #include "pmessenger.h" #include "ui_pmessenger.h" #include <QMessageBox> #include <winsock2.h> … Software Development c++ client-server oop qt | |
HI All, My name is s0ur and I am not a programmer. Isn't that the first step to recovery? I am hoping that the experts can help a noob. I am trying to write a python script that will run on windows login. it should do the following: 1) ping … | |
hey i have a datagridview and i am validating 3 columns, the user has to enter data in to those 3 columns, [CODE] else if ((!string.IsNullOrEmpty(dgvActions.Rows[dgvAAddR - 1].Cells[0].Value.ToString())) && (!string.IsNullOrEmpty(dgvActions.Rows[dgvAAddR - 1].Cells[1].Value.ToString())) && (!string.IsNullOrEmpty(dgvActions.Rows[dgvAAddR - 1].Cells[2].Value.ToString()))) [/CODE] when the user hasn't entered any value in one of this cells there … Software Development vb.net | |
Hi there, I am a Microsoft Word developer and I sell Microsoft Office solutions, to companies. I am beginning to be concerned that my solutions are being copied - which is fairly easy. I am hoping someone can give me some advice about the best way to do this. I … Software Development asp.net vb.net visual-basic | |
![]() | I have two classes and one of them is inherited from the other class. Class Person - used to store first name and last name of a person. The data members are protected. Class Candidate - used to store votes of an election, and this is inherited from Person class … Software Development c++ |
I'm using Visual Basic Express 2008 to create an interface with a order database in MS Access 2007 (.accdb file). Everything is fully functional except updating the "Inventory" table is very slow. Updating around 2200 items takes almost 2 minutes and the window will appear as "not responding" for the … Software Development dataset user-interface vb.net visual-basic | |
I wanted to share my little xml transformer tool that gets xml and xsl input visually and outputs the transformation in a third textbox again visually. i will attach the project so anyone can use it on the fly. i kind of combined the two code snippets from the following … Software Development file-stream xml | |
![]() | Take a look at this program. [CODE] #include <iostream> using namespace std; struct Node { int data; Node* link; Node() { data = 0; link = NULL; } }; void destroy(Node* &p) { Node* pre; while(p !=NULL) { pre = p; p = p->link; delete pre; // When running for … Software Development c++ ide motherboards-cpu-ram ubuntu |
Hi there, I'm new to the forum so please be kind :) I've created a class called node that has a standard constructor and an overload that uses an int as an argument. [code=c]class node { public: node(void); node(int inputs); ... };[/code] I can create an dynamic array of nodes … Software Development c++ | |
Here's a simple integer array. [CODE] int[] intArray = new int[5]; [/CODE] Now I make the first element equal to a variable. [CODE] a = 10; intArray[0] = a; [/CODE] How can I change the variable so the array automatically updates without using referring to the array? E.g. [CODE] a … Software Development | |
Is it possible to check which version of Excel a user's computer will open while in a VB6 application? Some users will be using Excel 2003 and some will be using Excel 2007 and, in theory, a single command button will open one of two excel sheets based on which … Software Development gui microsoft-office visual-basic | |
I have a problem with understanding a deserialization code....Can anyone help with this one: public clsSerial DeserializeFriend() //[U][B]why clsSerial is done here ??[/B][/U] { clsSerial temp = new clsSerial(); try { BinaryFormatter format = new BinaryFormatter(); FileStream myStream = new FileStream(“Test.bin”, FileMode.Open); temp = (clsSerial)format.Deserialize(myStream);// [B][U]and why (clsSerial)is added here[/U][/B] … Software Development | |
Hi all.... How can I create .exe format in python??????? I mean how to change .py to .exe ???? please reply as fast as possible Software Development python | |
Hi Im rather new to this but I want to ask how to re-define the array argv[] after the program main(int argc, char *argv[]) have been called? example main(int argc, char *argv[]) //assume the program is called by: program //this would give argc=1 and argv[0]= program //but know I want … Software Development c | |
Through my knowledge, I know that by declaring a variable as 'const', its stored in read only memory and at the same time I found that a const variable's value can be changed using pointers. How is it possible? Software Development c | |
Hello everyone, I've found out that the [I]friend[/I] keyword can be used with a class or a function/method but I'm wondering if it's possible to do something like this : [CODE=C++]class A; class B; class A { private: friend class B void AddEl(void *el); friend class B void RemEl(void *el); … | |
I realize that there are plenty of tutorials on how to create a "Custom Win32 Title Bar." The problem is.. none of the tutorials I have found so far.. discusses how a person would be able to "drag" the replaced title bar.. as one would drag the "normal" title bar. … Software Development c++ | |
I am currently reading data from a webpage form, using the data to generate xml, using xslt to translate the data into an html format and emailing the html. Is there a way to transform the data into a pdf format and send this as a file instead? I have … | |
hey folks, i have a problem which seems to be reasonably simple but i havnt managed to figure it out yet. Iv read alot of the other threads on this but i still havnt found one that iv both understood and solved my problem. So here goes... Its concerning returning … Software Development c++ | |
I have a design question which I have not been able to find a satisfactory answer for by searching. Essentially, I have a class - Base - that contains a vector of pointers to another class - Node. However, I would like to be able extend both the Base and … Software Development c++ oop web-design | |
The code will work if compiled in terminal. It does not work if I use Eclipse, it simply gives me an Array Out of bounds. It mentions the ARGS[0] as the out of bounds part. Any suggestions? [CODE]/* * * Test Case 1: 1. James 2. David 3. Melanie 4. … Software Development java | |
Guys, could someone help me to make a program that will display this not using if-else statement. I want to learn how to make it using for loop statement and any statement that will make this program short. I need 1 Program using for loop and another program but not … Software Development c++ |
The End.