132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dgreene1210

I am only a very beginner and was wondering if anyone can give me some help in determining how to fix the error messages i keep getting when i try to compile. I have been pulling my hair out for 3 days. Any help is much appreciated! attached is the …

Software Development c++
Member Avatar for raptr_dflo
0
172
Member Avatar for gil_mo

Hi, Absolute newbie to cryptography. I'm looking for C++ open source code (to be compiled on Windows, Mac, linux), for doing the following: 1. Generate private+public keys (need not run on all platforms). 2. (server side) Adding a digital signature to an XML document using a private key. 3. (client …

Software Development c++ encryption xml
Member Avatar for raptr_dflo
0
279
Member Avatar for localp

I am using Visual Studio 2008. I created a windows Console project and wrote my code. it compiled well and the program created a default .exe file. Now i created another project. this time its a C# project, and i am trying to access the functionality from the C++ project …

Software Development assembly c++ visual-studio
Member Avatar for raptr_dflo
0
165
Member Avatar for racumin

Hi I am implementing a "Star Craft" game and I have troubles on my A* algorithm. I followed the steps in [URL="http://www.policyalmanac.org/games/aStarTutorial.htm"]here[/URL] and created my own implementation using object oriented c++. Now when I have say 32 x 32 grid, and I need to move 1 unit, it takes for …

Software Development algorithm c++
Member Avatar for mehdi_gol
0
489
Member Avatar for dgreene1210

[CODE]#include <stdio.h> void getInput(); void calculate(int num1, int num2, int num3, float num4); void printTable(int num1, int num2, int num3, float num4,int calc1, int calc2, int calc3, int calc4, double calc5, double calc6, float calc7, float calc8); int main (void) { int num1, num2, num3; float num4; int calc1, calc2, …

Software Development c
Member Avatar for dare599z
0
1K
Member Avatar for localp

There is a Windows Form application for example say 'A'. and there is another class called 'example.cs' that will call 'A' as apart of its action. When 'example.cs' calls 'A' , 'A' will pop out, and continue to execute. what i want to do is, when 'example.cs' calls 'A' , …

Software Development
Member Avatar for Momerath
0
96
Member Avatar for yobbko
Member Avatar for raptr_dflo
0
948
Member Avatar for mahmoz

heeey guys i want to make predator and pray simulation and i made the 2d array i just don't know what to do next i need help !!!!:S [CODE]#include <iostream> using namespace std; void printGrid(char grid[][20], int w, int h); int main() { // Create a 20 by 20 grid …

Software Development c++
Member Avatar for raptr_dflo
0
280
Member Avatar for massivefermion

I wanted to have a vector<string> and a vector<double> in my class so I used forward declarations below: [CODE=c++] class string; template <typename T> class vector; [/CODE] But I recieve the error: [ICODE]field 'varname' has incomplete type[/ICODE] for both vector<string> and vector<double> variables. I searched internet for this error but …

Software Development c++
Member Avatar for raptr_dflo
0
2K
Member Avatar for infiniteloop56

Hey guys I have a program im doing for fun, I need to be able to enter a minimum exponent and a maximum exponent as well as a base. CANNOT USE THE POW() FUNCTION. Ex. minimum exponent = -2 maximum exponent = 3 base = 2 output: base exponent result …

Software Development c++
Member Avatar for raptr_dflo
0
232
Member Avatar for Ninjah

Good Afternoon, I am working on a project in which I would need to create a matrix of nxm dimensions, in which the top, bottom, left and right edges should have the value 1 and the interior of the matrix should be a random between 0 and 1 with a …

Software Development c++
Member Avatar for Ninjah
0
212
Member Avatar for qwesr

I'm trying to create a program that simulates a season of baseball. It takes a text input from a file that has the stats of the player, like Batting Average, Fielding Percentage, Home Runs etc... So i have planned everything except the simulating part. I need to figure out a …

Software Development
Member Avatar for qwesr
0
177
Member Avatar for warlord902

Suppose I have four classes in a package named T namely Main, A, B and C The class Main contains public methods which the classes outside package T access and Main class in turn communicate with other three classes and let some function to happen. Now I want only a …

Software Development java web-design
Member Avatar for warlord902
0
172
Member Avatar for Labdabeta

Code::Blocks isn't working. I recently reinstalled to get a newer version and when I hit build I get the following error: [CODE]mingw32-g++.exe -Wall -g -I"C:\Program Files\CodeBlocks\MinGW\include" -c D:\Programming\C++\TESTINGOPENGL\main.cpp -o obj\Debug\main.o Execution of 'mingw32-g++.exe -Wall -g -I"C:\Program Files\CodeBlocks\MinGW\include" -c D:\Programming\C++\TESTINGOPENGL\main.cpp -o obj\Debug\main.o' in 'D:\Programming\C++\TESTINGOPENGL' failed.[/CODE] Please help!

Software Development c++
Member Avatar for Labdabeta
0
2K
Member Avatar for montjoile

I'm getting a runtime error, and I can't figure out why. I'm developing the insert method of a btree. Below is the code of insert() [CODE] void insertar(btree* r, int dato){ int pos=0; btree* encontrado= buscar(&*r, dato, 0); //buscar() searches if [COLOR="Red"]dato[/COLOR] already exists if (encontrado==NULL) printf(" data already exists"); …

Software Development c++ data-structure
Member Avatar for gusano79
0
141
Member Avatar for The_Prince

Hello everybody. Just a query (in fact two) I have a reasonably huge matrix type data which is to be used via some other calculations, In the matrix are values of 1s, 0s and -1s which will appear in random and the actual i-jth position is important. Is it any …

Software Development c++
Member Avatar for mrnutty
0
172
Member Avatar for volcome

Hello, As a complete layman, I turn with a request to modify a small free program installpad [url]http://installpad.com[/url]. The program is used to "unattended" pour into the computer programs. I'd edited the software so that if they already have some programs that I would like to install, downloaded locally on …

Software Development github
Member Avatar for volcome
0
118
Member Avatar for vuyiswamb

Good Day All I am accessing an FDB Database with a WCF service. locally it was working fine, but now i want to access the service that is stting on a remote location. my Connection string looks like this [CODE] <add name="FDBConnectionString" connectionString="User=SYSDBA;Password=masterkey;Database=\\192.168.03.14\Database\SCHOOL.fdb;DataSource=192.168.03.14; Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true; MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"/>[/CODE] i get …

Software Development
Member Avatar for vuyiswamb
0
8K
Member Avatar for netci

hi, my arraylistS in a covering arraylist behave like the same instance. i manupulate one of them with [CODE]i=0; manupulate(myarrofarrs.get(i));[/CODE], and all the sub arraylists have become effected of the manupulation. i googled a little but in google it was said: "create new instance with myvar=new myobject()" i have already …

Software Development java
Member Avatar for JamesCherrill
0
202
Member Avatar for eoop.org

Hi :D Is it someone, who knows how i dock an "FormBorderStyle = none". I want it to be on the top, it will be new start line, but only on the top. No applications should run over the main. Like this picture:[URL="http://imageshack.us/photo/my-images/600/topc.png/"]http://imageshack.us/photo/my-images/600/topc.png/[/URL[/URL]], you need to see the top. Plizz …

Software Development
Member Avatar for eoop.org
0
141
Member Avatar for beatbox32

Hello, I'm attempting to learn C through the K&R book and am having some trouble with Exercise 1-13 at the moment. I'm just attempting to do a simple horizontal graph and can't figure out why this isn't working correctly. It seems to be ignoring my first "if" statement and just …

Software Development c visual-studio
Member Avatar for beatbox32
0
479
Member Avatar for bbman

[CODE]using System; public class UserMainCode { //Assume following return types while writing the code for this question. public static int[][] output1 = new int[9][]; public static void soduko() { } public static void SolveSudoku(int[,] input1) { input1=new int[9,9]; int i,j; for(i=0;i<9;i++) for(j=0;j<9;j++) output1[i,j]=input1[i,j]; soduko(); //Write code here } }[/CODE] im …

Software Development
Member Avatar for Momerath
0
142
Member Avatar for iret

Just some random thoughts :) DOS runs natively in 16-bit Real Mode. EMS, and Himem, memory managers (to my best knowledge) provide their services by jumping in and out of Protected Mode. 32-Bit Protected Mode programs use a DOS extender to jump into Protected Mode, and provide 32-Bit services. A …

Software Development assembly linux-kernel
Member Avatar for iret
0
231
Member Avatar for Dhanesh10

[CODE]#include"stdio.h" #include"conio.h" #include"alloc.h" struct node { int age; char name[25]; struct node * next; }; void add_end(struct node **q); void display(struct node *); void main() { struct node *p; p=NULL; add_end(&p); //display(p); getch(); return; } add_end(struct node **q) { struct node *temp,*r; temp=*q; if(*q==NULL) { temp=(struct node *)malloc(sizeof(struct node)); printf("\nEnter …

Software Development c
Member Avatar for Dhanesh10
0
370
Member Avatar for tennis

[CODE]#include "stdafx.h" #include<iostream> using namespace std; class A { public: A(){} void setdata(int s) {t=s;} int getdata(){return t;} protected: int t; }; class B: public A { public: B(){} }; void main() { A a; a.setdata(3); B b; cout<<b.getdata(); }[/CODE] Why I cannot get an output of 3 here? Can …

Software Development c++
Member Avatar for Narue
0
103
Member Avatar for vehpurple

okay so i figured everything out for my project except how to get this simple select statement to work. i have a table named [B]Car[/B] that i LINQ'd from a Microsoft Access File. please help. i want a button to display the Car database according to the SQL statement. thank …

Software Development microsoft-access
Member Avatar for vehpurple
0
104
Member Avatar for Bheeman89

Dear Friends, I have a question in security programming. As all of us know, when we have a database with passwords or anything sensitive, we would like to encrypt it so it is not readable by other. Now I want to know, which of the method is secured or less …

Software Development encryption vb.net
Member Avatar for twiss
0
188
Member Avatar for tom_289

Code Giving Error is Given Below, and Error is 1) Make Sure your method arguments are in right format 2) When converting a string to DateTime, prase the string to take the date before putting each variable into the DateTime Object [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Software Development open-source sql
Member Avatar for jignesh kaila
0
222
Member Avatar for stevanity

I created the following package AccBal. [CODE]package AccBal; public class AccountBalance { private String Name; private double Balance; public void setData(String name, double balance) { Name=name; Balance=balance; } public void displayBalance() { System.out.println("The Account Balance of " + Name + " is $"+Balance); } } [/CODE] Then I created a …

Software Development ide java
Member Avatar for stevanity
0
243
Member Avatar for leetari

Hi, Why is it that when I remove(commented out) the inner j for loop and all it's contents, the cmd prints out my desired output. However, replacing back the inner for loop, it gives an incorrect output -> my counter values are wrong when printed. Can anyone spot what I …

Software Development c++
Member Avatar for leetari
0
156
Member Avatar for yashsaxena

Hello All Recently I go through the concept of virtual function in C++. I have confusion with how many vitual pointer and virtual table for a single class are created? And if the class is inheriing some other then what will be the situation?

Software Development c++
Member Avatar for yashsaxena
0
219
Member Avatar for neutralfox

Hello friends, I am having a small problem, i have already designed a chat application, the chat works fine over a local network but now I want to use it over the internet. Logically the program should but what happened is that to get the IP I have used [code] …

Software Development java
Member Avatar for kumarprabhug
0
6K
Member Avatar for jbennet

Ok, in a very simplified version ive got to write a C++ app to interface with a joystick and play various sounds depending on its position - Its a USB joystick and I will have a QT GUI. This app already exists, for Windows/C# . I just need help porting …

Software Development c++ gui qt
Member Avatar for jbennet
0
345
Member Avatar for dev344

Hi I have never come across such code before. I can't make out what it is [CODE]SockerManager::SocketManager() : sockets(0), events(0), nSockets(0) {}[/CODE] Could someone tell me what does something like a() : b() mean? Thanks Devesh

Software Development c++
Member Avatar for dev344
0
146
Member Avatar for laim

Hi, I have just started learning classes and I have to make a matrix class. I know matrix math so that is not an issue, basically I have an h and cpp with function names and parameters and just have to define them. My problem is that Im stuck at …

Software Development c++
Member Avatar for laim
0
144
Member Avatar for kazekagerandy

how can i crop an image based on the size of my picturebox? my picturebox's size mode is normal, i want to have for example, a 100 x 100 image using a 100 x 100 picture box, also i can drag the the image inside the picturebox so that i …

Software Development image vb.net
Member Avatar for Jeff-Bennett
0
423
Member Avatar for shamusk

Hi everyone, I am new to java enterprise edition and used Eclipse previously. I need to integrate apache maven with my eclipse. I saw a few tutorials like the one [url]http://www.eclipse.org/m2e/[/url] , and i tried to follow it but i could find the other option in the import dialogue. I …

Software Development apache ide java
Member Avatar for peter_budo
0
276
Member Avatar for George91340

Hello Everyone! So I have an assignment to create a program to read in data from text file. I managed to get that part, but I'm having trouble with two areas. 1. Having the names read from the display read into a 10x3 format (10 rows, 3 colums/seats.) Expected output: …

Software Development c++
Member Avatar for raptr_dflo
0
372
Member Avatar for VernonDozier

I have the following code. It's a memcmp implementation for the Renesas R5F Embedded Chip family and I'm trying to test it. [code] #include <stdio.h> #include <time.h> #include <stdlib.h> #include <math.h> #include <stdbool.h> #include <stdlib.h> #include <assert.h> typedef char SInt8; typedef unsigned char UInt8; SInt8 one_net_memcmp(const void *vp1, const void …

Software Development c
Member Avatar for VernonDozier
0
206
Member Avatar for jonkeeler

Hi this is my first post so hello everybody, I've recently been exploring the uses of linq to use for comparisons,but really need a bit of a kickstart. Say for instance i have a listview populated with numbered names and I want to put up a message box if certain …

Software Development listview vb.net
Member Avatar for Unhnd_Exception
0
519
Member Avatar for gspeedtech

I am working with existing VB.NET code for a Windows Application that uses StreamWriter and Serializer to output an XML document of transaction data. Code below. [COLOR="Green"] [CODE]Private TransactionFile As ProjectSchema.TransactionFile Dim Serializer As New Xml.Serialization.XmlSerializer(GetType(ProjectSchema.TransactionFile)) Dim Writer As TextWriter Dim FilePath As String Writer = New StreamWriter(FilePath) Serializer.Serialize(Writer, TransactionFile) …

Software Development regex vb.net
Member Avatar for gspeedtech
0
190
Member Avatar for rminator

Hallo i am Working with Stringbuilder Array,i want to convert byte in from a Byte array and save it in a Stringbuilder Array,that is my code,but is not runing like i want,i have that failure :object reference was not specified on an object instance. [CODE]private string Byte_To_Hex_Ar(Byte[] Buff) { StringBuilder[] …

Software Development
Member Avatar for oredigger
0
4K
Member Avatar for MareoRaft

I have a Plain Text matrix file (called q.txt): [CODE]1 0 0 0 2 0 0 1 1 0 0 1 1 1 1[/CODE] which I would like to read into a matrix, which is a vector containing vectors (which contain doubles). My current codes yields the error "newReader.cpp:22: error: …

Software Development c++
Member Avatar for MareoRaft
0
1K
Member Avatar for VernonDozier

[code] #include <stdio.h> #if 1 //! Set Pin string const char* const ONCLI_SET_PIN_CMD_STR = "set pin"; #endif const char* const SINGLE_APP_STRINGS[] = { ONCLI_SET_PIN_CMD_STR }; int main() { printf("%s\n", SINGLE_APP_STRINGS[0]); getchar(); // pause return 0; } [/code] Line 12 Error message... [code=text] 12|error: initializer element is not constant 12|error: (near …

Software Development c c++
Member Avatar for VernonDozier
0
332
Member Avatar for drax12

hey all, I'm developing a small application,and i what i need to do is when i rename the exe file into some thing,(ex: abc.exe to aaa.exe) it has to show a message box showing the new name.(aaa). help needed ASAP. thanks in advance, drax

Software Development
Member Avatar for skatamatic
0
86
Member Avatar for TomaCukor

hello ! i have a program id like to code , and it uses from 3 upto 15 members of a structure , id like to ask , [COLOR="red"][I]1,[/I][/COLOR] is there a way to not define all members of a structure at the start but add members as needed ? …

Software Development c
Member Avatar for Schol-R-LEA
0
137
Member Avatar for deva.v

Hi, I am working with a multiple forms in vb.net. When i open forms it shows that many icons in the taskbar how can i stop and showing it as a single icon. I ve tried using child parent concept but when i click button to activate it dont get …

Software Development vb.net
Member Avatar for codeorder
0
116
Member Avatar for deceivingrakesh

Hey fellas , the issue is im developing an application in VB for a client and there are 4 computers in the network , and in one computer the database will be filled which ll be accessible by other 3 computers , its like client server application , any ideas …

Software Development client-server vb.net
Member Avatar for deceivingrakesh
0
111
Member Avatar for marrkee

hello, I'm currently writing a program to write a website easier, but i don't know, how output " to a file? thank you very much for help

Software Development c++
Member Avatar for marrkee
0
114
Member Avatar for aymenbnr

i just wanted to make a small bot using a web browser to post comments to wordpress blogs ! well i don't know the reason but it seems that only the last url is executed ! when i load a list and start the posting the loop seems to jump …

Software Development asp.net vb.net visual-basic
Member Avatar for codeorder
0
321

The End.