Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem with WNetAddConnection2 and WNetCancelConnection2!! Pin
venadder30-Nov-04 11:44
venadder30-Nov-04 11:44 
GeneralRe: problem with WNetAddConnection2 and WNetCancelConnection2!! Pin
hillclymr1-Dec-04 5:09
hillclymr1-Dec-04 5:09 
Generalstring problem! ahh Pin
Anonymous30-Nov-04 11:22
Anonymous30-Nov-04 11:22 
GeneralRe: string problem! ahh Pin
PJ Arends30-Nov-04 12:29
professionalPJ Arends30-Nov-04 12:29 
GeneralIsolate value and perform arithmetic [C++] Pin
Shaitan0030-Nov-04 10:43
Shaitan0030-Nov-04 10:43 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
PJ Arends30-Nov-04 11:10
professionalPJ Arends30-Nov-04 11:10 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
Joaquín M López Muñoz30-Nov-04 11:12
Joaquín M López Muñoz30-Nov-04 11:12 
GeneralRe: Isolate value and perform arithmetic [C++] Pin
Shaitan003-Dec-04 11:03
Shaitan003-Dec-04 11:03 
Given string Part = “*(X2)” [multiplication]
I use the following code to extract the “2” into integer arith:
scanf(Part.c_str(),"*(X%d",&arith);

For the addition [“*(+2)”] and subtraction [“*(-2)”] this works perfectly.
However with the multiplication [“*(X2)”] arith is evaluated to be 0 instead of the expected “2”. I also tried using Part = “*(*2)” [this was my first choice] and it does the same thing. Any clues or recommendation?

The exact same problem occurs when trying to implement the Divide [Part = “*(|2)”].
Arith is evaluated to be 0 instead of the expected 2.

Why does it only work for my add [+] and subtract [-] and not my multiply [*] and divide [|]?
GeneralPrinting Landscape mode Pin
Anonymous30-Nov-04 9:53
Anonymous30-Nov-04 9:53 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 11:22
professionalPJ Arends30-Nov-04 11:22 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 11:37
Anonymous30-Nov-04 11:37 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 12:21
professionalPJ Arends30-Nov-04 12:21 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 12:42
Anonymous30-Nov-04 12:42 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 12:55
professionalPJ Arends30-Nov-04 12:55 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 15:01
Anonymous30-Nov-04 15:01 
GeneralRe: Printing Landscape mode Pin
PJ Arends30-Nov-04 16:28
professionalPJ Arends30-Nov-04 16:28 
GeneralRe: Printing Landscape mode Pin
lisoft30-Nov-04 15:10
lisoft30-Nov-04 15:10 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 16:02
Anonymous30-Nov-04 16:02 
GeneralRe: Printing Landscape mode Pin
lisoft30-Nov-04 16:16
lisoft30-Nov-04 16:16 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 16:26
Anonymous30-Nov-04 16:26 
GeneralRe: Printing Landscape mode Pin
lisoft30-Nov-04 17:53
lisoft30-Nov-04 17:53 
GeneralRe: Printing Landscape mode Pin
Anonymous30-Nov-04 19:04
Anonymous30-Nov-04 19:04 
QuestionHow to compile .exe without trash ? Pin
mirex30-Nov-04 9:24
mirex30-Nov-04 9:24 
AnswerRe: How to compile .exe without trash ? Pin
BlackDice30-Nov-04 10:16
BlackDice30-Nov-04 10:16 
GeneralRe: How to compile .exe without trash ? Pin
mirex1-Dec-04 4:54
mirex1-Dec-04 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.