Click here to Skip to main content
15,922,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: detect Physical Memory size Pin
Ravi Bhavnani17-Jun-05 7:42
professionalRavi Bhavnani17-Jun-05 7:42 
GeneralRe: detect Physical Memory size Pin
heman15417-Jun-05 7:53
heman15417-Jun-05 7:53 
GeneralGet Time Function Pin
bugDanny17-Jun-05 7:14
bugDanny17-Jun-05 7:14 
GeneralRe: Get Time Function Pin
David Crow17-Jun-05 7:20
David Crow17-Jun-05 7:20 
GeneralQuestion for jpeg.lib users Pin
ryuki17-Jun-05 6:48
ryuki17-Jun-05 6:48 
GeneralRe: Question for jpeg.lib users Pin
JWood17-Jun-05 7:01
JWood17-Jun-05 7:01 
GeneralAnswer found Pin
ryuki17-Jun-05 11:30
ryuki17-Jun-05 11:30 
QuestionCan any help me in this simple proplem? Pin
kosamoza17-Jun-05 6:46
kosamoza17-Jun-05 6:46 
ofstream out("Matrices");
    if(!out){
                 cout<<"cannot open file.\n";
           return 1;
        }
for(int i=0;i<row1;i++)
        {for(int j=0;j<col1;j++){
         out<<mat1[i][j];}}
out<<" *";
for(int w=0;w<row2;w++){for(int e=0;e<col2;e++){
        out<<mat2[w][e];}}
      out<<"=";
for(int u=0;u<row1;u++){for(int v=0;v<col2;v++){
        out<<mat[u][v];}}
    out.close();

in the followin part of code it is workin ver well but there is a proplem for me in the output
the output is
2333 *44=2024

how ever i want to make it in the way like that
2 3 * 4 = 20
3 3   4   24

or in any way so that the user can understand the output file & became able to know where is the first matrix is & the second one is and the output as well so
HOW CAN I DO THIS????????
AnswerRe: Can any help me in this simple proplem? Pin
JWood17-Jun-05 6:54
JWood17-Jun-05 6:54 
AnswerRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 7:16
David Crow17-Jun-05 7:16 
GeneralRe: Can any help me in this simple proplem? Pin
kosamoza17-Jun-05 10:48
kosamoza17-Jun-05 10:48 
GeneralRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 17:18
David Crow17-Jun-05 17:18 
Generalconversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 6:19
Bugslayer117-Jun-05 6:19 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 6:24
David Crow17-Jun-05 6:24 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 6:57
Bugslayer117-Jun-05 6:57 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 7:07
David Crow17-Jun-05 7:07 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 7:15
Bugslayer117-Jun-05 7:15 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 7:18
David Crow17-Jun-05 7:18 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 7:36
Bugslayer117-Jun-05 7:36 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 8:03
David Crow17-Jun-05 8:03 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer120-Jun-05 5:53
Bugslayer120-Jun-05 5:53 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow20-Jun-05 6:06
David Crow20-Jun-05 6:06 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer120-Jun-05 6:09
Bugslayer120-Jun-05 6:09 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow20-Jun-05 6:15
David Crow20-Jun-05 6:15 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bob Stanneveld17-Jun-05 10:36
Bob Stanneveld17-Jun-05 10:36 

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.