Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for axfv

My database has a list of events, and I'd like to return it sorted by date. However, I'd like to have the past events be forced below more recent events, so I try to do this: ( SELECT name, date FROM events WHERE date >= curdate() ORDER BY date ) …

Member Avatar for drjohn
0
167
Member Avatar for MicrosoftMahmou

hello, iam very beginer in c++ and i have home work in matrices i want to know a method to make matrices and collect them by using array & pointer note i want to make a matrix code which make me type any matrices with any number of row or …

Member Avatar for mvmalderen
0
91
Member Avatar for Falkoner1

Okay, in my program I have a line of code like this: [code]if(type == rabbit){pointer = begin.sim[sim].field[x][y].rabbits; begin.sim[sim].field[x][y].rabbits = this;}[/code] In order to see what the issue I was having with the actual program, I put in this line of code: [code]printf("\n\n%p & %p\n\n", begin.sim[sim].field[x][y].rabbits, this);[/code] And I found that …

Member Avatar for Falkoner1
0
4K
Member Avatar for yamahammer342

im working on something and i need the user to be able to enter times that things start and end. i need to know how i can store that and then compare them later. they need to be able to enter like 12:45. i was thinking i could somehow ignore …

Member Avatar for Karkaroff
0
90
Member Avatar for axfv

I have classes A1, A2, B, and C. A2 inherits from A1. C inherits from A2 and B, and its constructor initializes all B, A2, and A1 variables. As a tree, it looks like this: [CODE] C / \ B A2 | A1[/CODE] I have a function [I]Foo [/I]that takes …

Member Avatar for ArkM
0
164
Member Avatar for bob89

I am new to c++ but have been using java for a while now. I am using Microsoft Visual c++ and when I try to build it I get the following error: Linking... Airline Project.obj : error LNK2019: unresolved external symbol "public: __thiscall FlightManager::FlightManager(void)" (??0FlightManager@@QAE@XZ) referenced in function _wmain F:\Documents\Assignments\CA212\Airline …

Member Avatar for Narue
0
105
Member Avatar for axfv

I want to create a file in (drive letter):\Program Files\myprog\file.ext where (drive letter) is the drive letter where windows is installed (or the default drive). Is there an easy Windows API method to retrieve it? Thanks PS, here is what I'm currently using: [code] string mainDrive = ""; foreach (string …

Member Avatar for axfv
0
225
Member Avatar for axfv

I'm going crazy trying to figure this out. I want to have a program that detects when a user locks or unlocks the computer, and I know ISensLogon has the functionality I need (MSDN link: [url]http://msdn.microsoft.com/en-us/library/aa376860(VS.85).aspx[/url]) but I cannot seem to find ANY examples of how to work with it. …

0
53
Member Avatar for axfv

I have a DataGrid bound to a DataTable. For various reasons, I don't want to allow users to sort the data, but I want to sort the data once by "Username" as well as resize the columns. I use DataTable.DefaultView.Sort = "Username" before binding it to DataGrid. If I then …

Member Avatar for G-bot
0
152
Member Avatar for axfv

I'm trying to get info about users in Active Directory using C++. In particular, I'd like to retrieve the EmployeeID property, but it doesn't seem to work. I know for sure one user has a value for the EmployeeID. If I look for FullName or LastLogin, I get the values, …

Member Avatar for axfv
0
170
Member Avatar for zgulser

Hi, I have class X and class Y such as the following; [code] class X { ... void foo(); ... } ----------------------------------------------- #include "X.h" class Y { void hoo() { X myNewX; myNewX.foo(); } } int main() { X newX = new X(); } [/code] When I do this, it …

Member Avatar for Ancient Dragon
0
118
Member Avatar for axfv

From Beej's Guide to Network Programming: [QUOTE]How can I set a custom timeout value for a TCP or UDP socket? It depends on your system. You might search the net for SO_RCVTIMEO and SO_SNDTIMEO (for use with setsockopt()) to see if your system supports such functionality. The Linux man page …

Member Avatar for AlbertPi
0
95
Member Avatar for axfv

I can use ShellExecute to easily open a URL in a new default browser window. I'd like subsequent URLs to be opened in the same window, but ShellExecute always opens a new window/tab. I've been looking on google and msdn, but there doesn't appear to be a simple solution. Do …

Member Avatar for dickersonka
0
116