Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for Ana_Developer

Hello all, I am having a hash_map with key: char *. I have defined it like this: [CODE] struct eqstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) == 0; } }; ... hash_map<char *,map<uint16_t,set<float>>, hash<const char *>,eqstr> symbol_hm; [/CODE] but I get an error …

Member Avatar for mike_2000_17
0
148
Member Avatar for Ana_Developer

Hello everyone, I am using the code in the following website ([url]http://www.adp-gmbh.ch/win/misc/sockets.html#test[/url]) that is a ready Socket and Client class for connecting to a website. But in the Client.cpp code, if I put a query for Google instead of the host name in the send() method, I get a bad …

Member Avatar for drkybelk
0
204
Member Avatar for Ana_Developer

I cannot figure out what I'm doing wrong in the following code: [CODE]char* charArray[3]; strcpy(charArray[0],"wn"); strcpy(charArray[1],"chair"); strcpy(charArray[2],"-over");[/CODE] Thanks a lot for the help!

Member Avatar for VernonDozier
0
96
Member Avatar for Ana_Developer

I am using hash_map<string, Word *> dict to store my Word objects. Each Word is a class that inherits from my Node class. The value in the label variable in the Word class is read from a text file. Once I start adding the objects to the dict structure, I …

Member Avatar for Ana_Developer
0
221
Member Avatar for Ana_Developer

Hello everyone, Can somebody tell me how can I start a new tread in the database category? The new interface got me confused... Thanks!

Member Avatar for mitrmkar
0
35
Member Avatar for Ana_Developer

Hi everyone, I have been using System.Diagnostics.Process.Start("fileName.pdf"); command in order to print my pdf docs in my web app. The thing is, it works perfect on my localhost, but once I upload the code on the server, the files no longer are opened. The path to the file in the …

Member Avatar for kvprajapati
0
58
Member Avatar for Ana_Developer

Hi, I need to have a grid view that will select only few columns from two tables in the database and show them. I have my own data layer implemented, i.e. I have functions that are pulling all the tuples for a satisfied condition and returning them back to me. …

0
76
Member Avatar for Ana_Developer

I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event? Thanks!

Member Avatar for apegram
0
125
Member Avatar for Ana_Developer

I am implementing BFS, A*.... I got confused by all the terms used in the books. Like, what would be th difference between a search node and a state node, or a search tree and a search graph? I have two files as input, a nodes file (coordinate with id …

Member Avatar for Agni
0
60
Member Avatar for Ana_Developer

Before I proceed with the code implementation, I need to find the error that this program initiates. I can't figure out the solution, I guess thats what happens after not using c++ for 4 years... The compilation errors I'm getting are all of this type (11 of them): Error 9 …

Member Avatar for Ana_Developer
0
192
Member Avatar for Ana_Developer

I cant find the error here.. [CODE]#include "stdafx.h" #include <deque> #include <list> #include <queue> #include <iostream> #include <fstream> #include <string> #include <sstream> #include <set> using namespace std; char file_name[15]; char links_file[15]; char alg[15]; char with_list[15]; char new_name[15]; int depth; long idstart,idgoal; class Action { public: long start_node; long end_node; int …

Member Avatar for Ana_Developer
-1
224
Member Avatar for mmasny

Would you be so kind and help me solve this problem? [code=C++] #include <string> using namespace std; class Okno { protected: int x1,y1,x2,y2; string nazwa; public: }; class NieDesktop : public Okno{ private: Okno& ojciec; NieDesktop(const NieDesktop&); }; class OknoWlasciwe : public NieDesktop{ OknoWlasciwe(const OknoWlasciwe&); public: OknoWlasciwe(Okno&,int,int,int,int,string); }; OknoWlasciwe::OknoWlasciwe(Okno& _ojciec,int …

Member Avatar for mmasny
0
301
Member Avatar for Jerail

... and I don't know why. I'm just getting back into C++ programming after years of not using it at all. I tried to make a simple program that - Creates 10 random numbers between 0-99 and prints them - Categorizes each number by range - prints the sum of …

Member Avatar for Jerail
0
421