132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dan_e6

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 …

Software Development c c# c++
Member Avatar for dan_e6
0
198
Member Avatar for umeshjaviya

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
Member Avatar for Prabakar
0
97
Member Avatar for pichels

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
Member Avatar for eggi
0
187
Member Avatar for chrisfrolich

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++
Member Avatar for Radical Edward
0
85
Member Avatar for KuromanKuro

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++
Member Avatar for phalaris_trip
0
219
Member Avatar for pazoo

""" 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
Member Avatar for woooee
0
131
Member Avatar for joshmo

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
Member Avatar for joshmo
0
61
Member Avatar for bhaSD

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
Member Avatar for Ancient Dragon
0
486
Member Avatar for asad awan

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++
Member Avatar for Salem
0
145
Member Avatar for MohammadAliSadi

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
Member Avatar for debasisdas
0
186
Member Avatar for Jigg1yPuff

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++
Member Avatar for Ancient Dragon
0
147
Member Avatar for akhil_hello

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
Member Avatar for chris5126
0
103
Member Avatar for Sailor_Jerry

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 …

Software Development ide java
Member Avatar for jasimp
0
116
Member Avatar for kse989

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 …

Software Development algorithm c++
Member Avatar for Laiq Ahmed
0
904
Member Avatar for soniataneja

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
Member Avatar for gangu.madduri
0
109
Member Avatar for William Peek

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
Member Avatar for Jx_Man
0
150
Member Avatar for donaldunca

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
Member Avatar for donaldunca
0
119
Member Avatar for complexcodes

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++
Member Avatar for bugmenot
0
100
Member Avatar for pazoo

"""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
Member Avatar for pazoo
0
120
Member Avatar for jimJohnson

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 …

Software Development c++ ios
Member Avatar for vmanes
0
104
Member Avatar for taliGLM

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
Member Avatar for jwenting
0
130
Member Avatar for lahom

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++
Member Avatar for lahom
0
264
Member Avatar for P.Bateman

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
Member Avatar for P.Bateman
0
157
Member Avatar for jimJohnson

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, …

Software Development c++ ios
Member Avatar for VernonDozier
0
140
Member Avatar for jimJohnson

2 questions first did you guys get hacked yesterday or something and 2nd: Not sure what I am doing wrong but have an issue with a program...i am to input a file name that i have in my project and it is not doing it right... This is what my …

Software Development c++
Member Avatar for jimJohnson
0
234
Member Avatar for lianaconda

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++
Member Avatar for lianaconda
0
125
Member Avatar for varsitygirl_13

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++
Member Avatar for VernonDozier
0
8K
Member Avatar for javauser215

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; // …

Software Development java printer
Member Avatar for javauser215
0
3K
Member Avatar for hacker9801

I know the & operator means address-of, but what's it do when in a function prototype? Example: [code=c++]void foo(std::string& str)[/code] or [code=c++]void foo(char& c)[/code] what's the & for in that?

Software Development c++
Member Avatar for VernonDozier
0
107
Member Avatar for oceanaut

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
Member Avatar for jephthah
0
2K
Member Avatar for mjzammit

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
Member Avatar for scru
0
89
Member Avatar for knowledgelover

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#
Member Avatar for majestic0110
0
193
Member Avatar for Black Magic

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++
Member Avatar for Narue
0
3K
Member Avatar for nomas90

I make x,o game between two players and it is run but, please i want to know how i make this game between one player and the computer? please i want an urgent reply..

Software Development c++
Member Avatar for nomas90
0
121
Member Avatar for rem0404

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 …

Software Development c++ ios
Member Avatar for Lerner
0
103
Member Avatar for CodeBoy101

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++
Member Avatar for zandiago
0
114
Member Avatar for ChrisP_Buffalo

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
Member Avatar for woooee
0
100
Member Avatar for cpp noob

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++
Member Avatar for CrisRo
0
344
Member Avatar for emilio

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
Member Avatar for emilio
0
106
Member Avatar for pikkas

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
Member Avatar for waynespangler
0
254
Member Avatar for terence193

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
Member Avatar for javaAddict
0
130
Member Avatar for nubicoder

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. …

Software Development c++ ios
Member Avatar for nubicoder
0
212
Member Avatar for En1ro

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, …

Software Development c++ oracle
Member Avatar for mitrmkar
0
591
Member Avatar for e_pech

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++
Member Avatar for e_pech
0
167
Member Avatar for akshayygarg

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++
Member Avatar for akshayygarg
0
158
Member Avatar for viperz_d

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
Member Avatar for CzechRock3
0
126
Member Avatar for wrichardson530

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
Member Avatar for selvaganapathy
0
80
Member Avatar for wrichardson530

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
Member Avatar for wrichardson530
0
165
Member Avatar for Lass

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 …

Software Development c++ ios queue
Member Avatar for mitrmkar
0
170
Member Avatar for fishsqzr

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
Member Avatar for fishsqzr
0
103

The End.