132,726 Archived Topics
Remove Filter ![]() | |
hey guys. I need some help here! I have a 2D vector named grid. what i need to do is magnify any data in it. it's of a bool type so something like this. 1100 0110 0011 in the 2D vector would become (after magnification) 11110000 11110000 00111100 00111100 00001111 … | |
I am a new guy in C. But I have read stuffs about Malloc, Realloc, how to pass pointers to the function... If I am writing this code in single program, it works perfectly...but smart programmmer guide says write in compact form. So with user defined function this is not … Software Development c | |
Hi, I need to search a large Directory Path and count all the characters(Even filenames with space and special chars, etc.) in it. Example: /data/general\Customer_Order_Files\Pump_Files\Pump_Open_Files\1217697 METSO MINERALS HITACHI AMERON DUCK CREEK\1217697 MOTOR INFO METSO MIN HITACHI AMER DUCK CREEK 10-3-06\1217697 Motor Quote SIEMENS METSO MIN HIT AMER DUCK CREEK 10-16-06 … Software Development pdf samba shell-scripting windows-server | |
I was given an assignment where i have to calculate and aoutput the ocst of airline tickets for different classes (business class, coach class, first class). Output the price from different funtions. Here is what I have..... [code] int main () { double firstClass, coachClass, businessClass; cout<<"Enter the price of … Software Development c++ | |
I'm developing a videogame themed hangman game right now for class and I was wondering how to put spaces in the word they were supposed to guess without making it where the player has to input a space (Makes the game impossible to win by the way.) EX. string SecretWord; … Software Development c++ | |
""" i am having a bit of trouble with my whoWins function and my menue. i can get all of my other functions to run from main but whoWins just doesnt seem to want to work no matter what i try.i am also unsure if the dictionaries etc for the … Software Development python | |
I have a small problem with adding some items to my linked list....the code compiles with no errors but when run it doesnt complete...it looks like it is still waiting for some input but i dont know where my loops are going wrong.. [CODE] #include <iostream> using namespace std; struct … Software Development c++ linked-list | |
Hi all, I m doing one c program for serial communication.In that i want to send request to one hardware module, after receiving my request that h/w send me one frame with predefined format. CPP / C++ / C Code: [code] /* Program SERIALCOMMUNICATION.C is used for PC to PC … Software Development c++ data-structure | |
hi i am asad and i have given a final semmester project on making a programme of budjet of an office in c++ reply plz plz in two days i have to submit it in 4days Software Development c++ | |
I use vb 6.0 , Sql server and Data report . When i am go to show the report there is a problem. The Code is following. Private Sub cmdShow_Click() On Error GoTo Errorhandler Dim cn As New ADODB.Connection ' Dim rs As New ADODB.Recordset ' Dim rs1 As New … Software Development client-server visual-basic | |
Can any1 help me with printing out the student record when the user inputs the information? i wrote a for loop statement to print out the user input and set the width to 60, but it doesn't print it out... [code=cplusplus] #include<iostream> #include<iomanip> using namespace std; struct Record { char … Software Development c++ | |
Hi, I'm new to shell scripting. Can someone please suggest me some syntax to move files from directory A to directory B using shell scripting. Also the programme should have 2 parameters and based on the parameter values given while executing, the programme should check the file names in directory … Software Development shell-scripting | |
I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE. I created a jar file and everthing is correct with it. It has the MANIFEST.MF and all. So what … | |
This is the header file for a Recursive Binary Search Tree - I have never used recursion, not sure if I'm, using it right... If you could tell me if this is the correct algorithm for recursion for this code, that would help alot. -- also, I am not sure … | |
Hello, i'm trying to build a webservice using c# .Net it works fine on local host but how do i call it from client side using ASP script and also how is it that i uplaod this webservice to internet(sorry!! for a silly question but iim new to .Net so … Software Development | |
I am using a client program (VB6) to interact with one or more server ActiveX executibles, also VB6. Everyting works as it sould when the servers are different EXE's. That is, compiled with different Project Names to different File Names. However, I would like to access 2 instances of the … Software Development client-server visual-basic | |
I research into code c++ for multimedia. It's audio and video transmission. I really need some books or sample to understand multimedia operation Could you help me? Thank for advanced. Software Development audio c++ multimedia video | |
I am working on this assignment, compiler is giving me 2 errors but I couldn't find any mistakes. [CODE]#include<iostream> using std::cout; using std::endl; class opOverload { public: opOverload(); opOverload(int,int); opOverload operator+(opOverload); void show(); private: int sub1; int sub2; };[/CODE] [CODE]#include<iostream> using std::cout; using std::endl; #include"opOverload.h" //default constructor opOverload::opOverload() { } … Software Development c++ | |
"""hi i am having heaps of trouble with calling my whoWins function from main. i can get all of my other functions to call ok from main, but am having trouble with this one for some reason. any help would be greatly apreciated. cheers joel""" import random Ascore = 0 … Software Development python | |
just a small issue with my program...I am finishing it up and the issue I have is I need to make me decimal points line up...the array is up and perfect just need some assistance in setting up the widths [code=c++] #include <iostream> #include <fstream> #include <iomanip> #include <string> using … | |
this is an urgent project and i have no idea where to begin, if i could get help this time, and someone send me a tutorials on how to do this stuff and willing to teach me because my teacher fails to teach...i would be ever so grateful. /* Fix … Software Development java | |
hi [B]Is there any function in vc++ do the same thing as the Input (int,int) function in vb?[/B]and is there one ...[B] would someone please tell me what is it?[/B] thanks in advance lahom Software Development c++ | |
I am a total n00b to both programming and Python. I am working my way through "Python Programming for the Absolute Beginner" by Michael Dawson. On of the "challenges" given on page 87, chapter 3 is to create a Fortune cookie program. I can't get the code I want to … Software Development python | |
can someone show me how to code the median if it is an even number [code=c++] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; void Fill_Array(double Size[], int& count); void Print_Array(double Size[], int count); double Calc_Average(double Size[], int count); void Sort(double Size[], int count); void Swap(double& v1, … | |
![]() | Hi. The idea is to create a base classed called creature with 3 derived classes called phoenix, giant, and centaur. I've already implemented all the functions, but my code still doesn't compile. I get errors that say [code]"error C2664: 'Phoenix::Phoenix' : cannot convert parameter 1 from 'const char [9]' to … Software Development c++ ![]() |
Hi, I have made my tic tac toe game that allows two people to play the game. Everything works properly, but now I would like to make the game using a two dimensional array. Here is my original code: //tic tac toe game #include <iostream> using std::cout; using std::endl; using … Software Development c++ | |
I am receiving and error when trying to compile and cannot seem to figure out why and would appreciate any help. [code] public class Product { private String itemName; // variable that stores the cartridge name private int itemNumber; // variable that stores the item number private int invStock; // … | |
HOW to develop a program that plays the game of Mastermind by C programming? The Game of Mastermind Mastermind is a simple code-breaking board game for two players, i.e., a codemaker and a codebreaker, invented in 1970 by Mordecai Meirowitz. The codemaker secretly creates a code consisting of four colors … Software Development c | |
Hi i am working on a c# applcation what it does basically is get specific tags and checks their contents. My problem lies here, if one of the tags contents isnt correct i need to show the [B][U]line of code[/U][/B] where the tag resides in the html source code. Can … Software Development | |
Hi there, I created a setup project , added it to the solution that consists from a windows service, I added the primary output from the serviceName, but when I install the service never show up in the Service manager !!!! Any ideas or even a site that discuss how … Software Development c# | |
Hey, I was just thinking and came across this idea and wanted to know if it could be done, say if the user enters 321, my program would output 123, 450, 054 etc etc Could you please show me how this could be achieved thanks. Software Development c++ | |
i'm working on the "removesong" function. i need to check the vectors that already have the data separated and stored in them, and i need to see if the entered song title and artist name exist. if they do, i need to replace that same vector location with an empty … | |
Hello to all, I need to know how to read the space bar as a character (or string) rather than as a separator, and I also need to know if the same can be done with the enter key. I am grateful for all contributions. :icon_mrgreen: Software Development c++ | |
I have a file with a long list of English verbs and I have a set of search strings; now I want to search through the verbs to find any verb which contains any of the strings as a substring. For example, the verbs "forgotten" and "negotiate" both contain the … Software Development python | |
hello i made this black jack game its showing few bugs and stuff , spent a long :sad: time and i cannot figure out what to do . please help correcting :cry: i would also appeciate a smaller version of this progrm. :surprised thank you :cry: this is for "tc.exe" … Software Development c++ | |
i am trying to generate random numbers in a loop i wrote this function [code=syntax] int getRand ( int a , int b ) { static int x = 0 ; if ( x == 0 ) { srand ( time( NULL ) ) ; x++ ; } return a+rand()%(b-a+1); … Software Development c | |
i m using visual studio 2005. i am working on a windows application and i have a form and an mdiparent. On the form i have some buttons wich are control an sql server database and it works fine. when i make the form an mdi child then no one … Software Development vb.net visual-studio windows-server | |
i haven't started learning Java yet... Can someone help me about java and tell me from where i need to start to learn this programming language?? PlS HELP!! Software Development java | |
Hello, I am trying to load data from a testfile.txt file which contains ten records and 3 fields with numbers into a 2 dimensional table and then print it. I am not sure if I am accesing the data correctly and placing it into the array. I get no output. … | |
Hello: [code=cplusplus] #include <stdio.h> // for printf #include <D:\Programavimas\Naujas Darbas\SQLAPI\include\SQLAPI.h> // main SQLAPI++ header int main(int argc, char* argv[]) { SAConnection con; // create connection object try { // connect to database // in this example it is Oracle, // but can also be Sybase, Informix, DB2 // SQLServer, InterBase, … | |
I'm new to C++ with MFC.. I want to do something like this [code] long longvar = 0; return _T("The value of longvar is " + longvar + "!"); [/code] But of course, is not allowed by C++.. Please! HELP!!! I'd really appreciate it!! Software Development c++ | |
Hi I created a code which reads data from user, processes it and write it back in to a file in .csv format so that user can see it in excel. Although the program is running fine from the tc for any set of data, the exe file when i … Software Development c++ | |
Hello, I'm new here, Can anyone help me? I'm trying to make a chat program. Like that of winchat. I'm planning something like a serverless type. Any help would be appreciated. :) Software Development visual-basic | |
PosOfSpace = InString(LstStudent.[B]Value[/B], 1, " ") txtStudentId.Text = Mid(LstStudent.[B]Value,[/B] 1, PosOfType - 1) I'm tring to get the studentId to show up in the StudentId text box. This is supposed to be done by double clicking on the student you want process This is in the list called LstStudent. This … Software Development visual-basic | |
I made this code to let my user open up my database and see a report. It prints the report, then it will open the access database. I know I'm doing something wrong, i just want to view the reprot called student history. Any advice or corrections tomy code would … Software Development visual-basic | |
hey every body, in my project-Emergency room Simulator- i should open file for all patient if he didnt have one, so, when the patient come, i will ask him if he has a file, if yes, i will read his information and add some more in it, if not i … | |
I need to use a BindingSource Filter property to search for names in a string field. That is easy enough, unless the name contains a single quote (apostrophe) such as "O'BRIEN" or similar names. VS Help says special characters should be escaped by enclosing them in square brackets. This works … Software Development |
The End.