132,729 Archived Topics
Remove Filter ![]() | |
/* this program compiles is almost done, but i cannot get the las function to sort numbers from the array. the output should have the even number on the left and odd numbers on the fright.*/ [code=cplusplus] #include <stdio.h> #include <stdlib.h> #define N 9 void revArray(int *a); /* reverse an … Software Development c++ | |
Because I honestly feel like I'll never understand them(it's been years by the way). So I just want to know if it's possible to make any program you fully desire with out pointers or any other complex OOP such as encapsulation and typedefs. I just can't work with that logic. … | |
Dear friends... I need a urgent HELP... I applied for a job... They asked me to do a PROJECT, vb with access... In that they asked me to create INSTALLER file with 32bit & 64 bit support. I don't know how to do this... i have to finish it and … Software Development visual-basic | |
Hello, I am stuck on how I have pass function arguments to the main method of my program. Here is my code: [CODE]network = [] def populateArray(): file = open('C:\\My Documents\\route.txt', 'r') for line in file: network.append(line) print "Network = " print network def main(): if __name__ == "__main__": main() … Software Development python | |
I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists. As far as i can think of it can be achieved via overriding the paint … | |
Could you please tell me how to arrange my code so that the invalid statement like in my displayed output will only show up if some enters a wrong character. Here is my code: #include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { //(1) Declare … | |
If you read the Prologue section of the code I posted it will give you an explanation of what I am trying to accomplish with this program. The problem I am having is that I am unable to find an example of how to pass an argument through the string … | |
help me..how to print a sum and average of grades using Java? Software Development java | |
![]() | guys how to slpit a date string ie....30/jully/2001 i want the following output 30 jully 2001 please help... Software Development c |
I need help with a py generated file that was made in QT. I use the following line [CODE]QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab"))[/CODE] and get this error [CODE]Traceback (most recent call last): File "C:\python\mainwindow2.py", line 349, in createInvoice QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab")) TypeError: arguments did not match any overloaded call: QTabWidget.addTab(QWidget, QString): argument … | |
Hello, How can I do this: Implement the MergeSort algorithm in C++, Generate random numbers into a text file to read as input. The 2 parameters to the program are the input and output text files Thanks | |
hiiiii its 12th science student.IN THE FOLLOWING PROGRAM I REALLY DONT UNDERSTAN THE LINKER ERROR.I HAD ALREADY SPEND 4-5 HOURS IN SOLVING 50IES OF ERROR BUT THIS ERROR I REALLY DON'T ABLE TO UNDERSTAND. SO PLEASE HELP ME OUTTTTTT. AS EARLY AS ANYONE CAN...... [code]#include<string.h> #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdio.h> #include<fstream.h> … | |
Can you please tell me why is the first code giving me the right answer whereas the second one giving me a logically incorrect answer. Below are the two programs. The logic is the same. I want to know why the second program is not working even though the logic … Software Development java | |
- (The [COLOR="Red"]Fan[/COLOR] class) Design a class named [COLOR="red"]Fan[/COLOR] to represent a fan. The class contains: 1. Three constants named SLOW, MEDIUM, and FAST with values 1, 2, and 3 to denote the fan speed. 2. An int data field named speed that specifies the speed of the fan (default … Software Development java | |
[B]Hi everyone I would like to take your advice about my situation This is my second year in university and my major is computer science and my programming skill is very weak:'( and I finish data structure by Miracle :icon_cry:and until now I can’t solve any assignment by myself:icon_sad:, so … Software Development data-science data-structure java | |
Hello All, I need to create a new DateTimePicker control supporting the Hijri and Hebrew calendars I tried the DateTimePicker on "windows server 2008" and it was working very fine without any code change for Hijri and Hebrew calendars but on "windows XP" it works only with Grgorian calendar so … Software Development vb.net windows-server | |
Hi, I have a big project (#1). this is its direction: Project I Software for a Bank Write a C++ program for the following task: a) Should allow 5 users with user name & password [ (Ohlone1, Ohlone1pw), (Ohlone2, Ohlone2pw),( Ohlone3, Ohlone3pw), (Ohlone4, Ohlone4pw), (Ohlone5, Ohlone5pw)] b) Display a welcome … | |
I have a string and i want to copy at specified memory location. Suppose i have a pre-allocated memory represented by char* logFile (unsafe code) I have a generated string which contains the name of log file. I want to copy that string on location represented by char*. Please help … Software Development delphi | |
FRIENDS, i want the code for hide the first form in 10 seconds and show the form2. i have using the below code but it open the second form continously... [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Steganography { public partial … Software Development | |
can anybody tell me how can i create array of buttons so that i can give same code to every button Software Development c# | |
HI the prgram below request a user to enter 3 character id number and interger age. a function must be used that tells the user how many years to retirement. i must pass the age and print a message in the function. retirement age is 65 for persons over 45 … Software Development c | |
Hello, I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or … | |
Hi, I've been having issues with this for the last 4 hours and I don't know what to do. Basically I'm using an MS Access database to store information on a movie collection, however I do NOT want to use the crappy controls microsoft has for populating and navigating databases, … Software Development dataset microsoft-access open-source vb.net visual-studio | |
Hi there, I have some problem with accessing API using PHP. Here is the story : I use PHP as my main script on my webserver. I want to retrieve data in database server (oversea). The database server provides API and it's available to download. So I download the API … | |
okay so this is really killing me... does anyone know where there is some good information on the subject. all i want to do is make an app that can read and possibliby extract messages from a .pst and or .ost file... any help is greatly appreciated. John L Software Development vb.net | |
Hi, I am using the richtextbox selectionstart and selectionLength property for finding some text but its not working . can anybody help me please .... [COLOR="Red"]here is my code[/COLOR] [code] Dim startPos As Integer Dim endPos As Integer RichTextBox8.Rtf = RichTextBox8.Rtf startPos = InStr(RichTextBox8.Rtf, "\objw") endPos = InStr(RichTextBox8.Rtf, "\objh") Dim … Software Development vb.net | |
Hey all, So basically I need to change the code so that the phonebook and the inverse phonebook are easily updated and maintained. Also, whenever I add an entry, both phonebooks need to be updated. Lastly, when I write a phonebook to a file, write a backwards phonebook as well. … Software Development python | |
This is for the numerous people I see constantly asking how to "pause" the console after their code runs. The explanation for how the code works is within the snippet in comments. Basically, the "cin.clear();" function will clear the input stream, getting rid of any newline characters that would have … | |
// Postfix evaluation.cpp : Defines the entry point for the console application. [code] #include "stdafx.h" #include <iostream> #include "stackNew.h" #include <string> #include "stdlib.h" #include <cctype> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char Exp; string postfix; stackNew Operands; float item1, item2, result; cout<<"please enter the exp<B></B>ression you want … | |
Hi all, This is my first post, and I am certainly no perl programmer. I do have programming experience and have inherited a some perl code written by someone else. I have spent days trying to find the solution to this, so here it goes. This script parses a tab … Software Development first-post perl ubuntu | |
Hmm I was lookin through a recursion program in this book i have here and the only thing I'm having trouble with is the modulus operator. I know that it returns the remainder of 2 numbers. But, suppose I have this: x % y If x > y then the … Software Development c | |
Hi My program is supposed to implement a binary tree with an insert, remove, copy, pre-order, post-order and in-order views. Problem is that my code compiles... but doesnt work. Could someone help me out. Thanks. I attached the code... [ATTACH]18222[/ATTACH] [ATTACH]18223[/ATTACH] [ATTACH]18224[/ATTACH] Software Development c++ data-structure seo | |
hello -i'm a student and i have been given the task to develop a P2P Voip application. - the program should work on Local network and adhoc network (and internet if possible) without server. -The program should have an address book to add unlimited user name with the ip and … Software Development audio c++ encryption user-interface | |
I've heard of these quite a bit, but am quite unsure of what they are? | |
I'm well versed in creating a setup file in VB .NET, but am working in the older VB 6.0 on an older project I've been asked to maintain. How can I create a setup file in Visual Studio 6.0? Thanks in advance! Halbo (More than a name; it's ... Dim … Software Development vb.net visual-basic visual-studio | |
Hello everyone i'm new to this kind of things plz help me to solve this , if anyone can post the c/c++ code also i shall be thankfull to you :) An eccentric doctor visits his patients in order of decreasing age. Patients entering the waiting list specify not only … Software Development c++ | |
Array of Random Numbers Write a program called Random50 that fills an array with fifty random values between 1 and 999. However, before a random value is entered into the array the program must check that the number generated is not already in the array. If it is already present … Software Development java | |
I would like to know on how to solve this particular equation. Create 4 functions Main function Get number of employees (less than 10) Get employees hourly salary Store in an floating point array called salaries Calls calculate pay function Calls print pay function number_of_employee_times Calls print pay function 2 … Software Development c++ | |
hello.I have an C++ assignment I have to find a path to exit from maze.I should read the maze from a file and write it to an array..but I couldn't do it.can you help me,can you give the code to do that and which headers should I include,please answer me … Software Development c++ | |
write a program that will act as a single user's ATM machine.....the user will have the following menu options 1. deposit 2. withdrawal 3. view account balance 4. exit constraints for validation user can not deposit less tha zero dollars user must withdraw in $10 increments user can not withdraw … | |
[COLOR="Red"]COULD ANY GEEK HELP ME FIND OUT WHAT IS WRONG WITH MY CODE FOR RE?[/COLOR] [COLOR="Green"]SINCE THE BACK PART IS MARKED INVALID SYNTAX......[/COLOR] [CODE]'''you are given a bunch of phone numbers in a file whose name is provided by parameter name_fin, each line has exectly one phone number. They look … Software Development python | |
I need to write a c program which takes a algorithm as the input and gives the equivalent c source code as the output.any ideas???? | |
My question is... what is the int times for? i dont understand what i am supposed to do with it. Here are the instructions about this method: String[] generate(String symbol, int times) In this method you should use the grammar to randomly generate the given number of occurrences of the … Software Development java | |
hi... I have some questions... Firstly, I have an ArreyList that is stored two String "Name", "Description" This is a database of students [CODE]private void addStudents () { addStudent("ABC","lalala"); addStudent("DEF","hohoho"); }[/CODE] I also have the methods that adds, modify and delete students from the term list. [CODE]protected boolean addStudent (String … Software Development java | |
Hi, I am working on a Desktop application using C# .NET Looking for some code that does 'email syntax validation' and 'send mail' tasks. Since it is not a web based application this cannot be done using Web based namespaces etc. Can anyone please help me out or even suggest … | |
How can one search for multiple items at once and display the result in a datagrid? for example, i want to search for multiple mobile numbers (in sql server database)at once and display the found numbers and their corresponding names. Software Development vb.net | |
Good Day, I will be starting a course in C++ soon and i was just looking over the internet for some examples and practise questions. I found this question very interested as these topics are on the course outline. Is it possible for you to assisst me in doing this … Software Development c++ | |
[B][COLOR="Green"]Unable to copy file "obj\Debug\.exe" to "bin\Debug\.exe". The process cannot access the file 'bin\Debug\.exe' because it is being used by another process.[/COLOR][/B] please help i have open the task manager i have end the process but then also same error please help me I am using window application Software Development window-manager | |
I need ideas for a C++ [COLOR="Red"]mini [/COLOR]project. It should be complex enough to involve 4 students. | |
Hi, well I need to do a program in Java that shows the solution of the famous game 8 puzzle (the object of the game is to place the tiles in their place with the less possible movements) So using the class Astar Given by our teacher we are asked … Software Development algorithm data-structure java puzzle storage |
The End.