Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 87 results for
columnar
- Page 1
How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
… & numeric)). I'm trying to get the output into
columnar
format and include a count of the # of records following… the
columnar
format. My text file is separated by commas. So far…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
What means
columnar
format? You mean one value under another? PS: would you like to have an array of items?
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
… from a delimited text file, the output should be in
columnar
format (separated neatly in columns)Text Ex.[CODE]year,1997…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
… add a count of the number of records following the
columnar
output. Like count: 25? Thank you!!!
Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
Hi all, I have implemented some code for simple
columnar
encryption. The algorithm is encrypting properly as I want. But …
Re: Adding columnar data in csv and creating a new csv with sum
Programming
Software Development
11 Years Ago
by rexmorgan
… larger program. The whole idea is that I take the
columnar
data from a spreadsheet that gets produced select the months…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
I did what I was thinking you want it to do: [CODE] class Program { static void Main(string[] args) { Dictionary<string, int> dir = new Dictionary<string, int>(); using (StreamReader sr = new StreamReader(@"C:\1\testFile.txt")) { while (!sr.EndOfStream…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
Thanks!
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
[QUOTE=Mitja Bonca;1413147]I did what I was thinking you want it to do: [CODE] class Program { static void Main(string[] args) { Dictionary<string, int> dir = new Dictionary<string, int>(); using (StreamReader sr = new StreamReader(@"C:\1\testFile.txt")) {…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
Hmm regarding your text file, you cannot have integer as the value parameter. Change the int to string (in the dictonary). like that: [CODE] static void Main(string[] args) { Dictionary<string, string> dir = new Dictionary<string, string>(); using (StreamReader sr = new StreamReader(@"C:\1\…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
[QUOTE=Mitja Bonca;1413182]Hmm regarding your text file, you cannot have integer as the value parameter. Change the int to string (in the dictonary). like that: [CODE] static void Main(string[] args) { Dictionary<string, string> dir = new Dictionary<string, string>(); using (StreamReader sr = new…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
I have tried your text and it works good. You have to set your own path (full path) to the file. Mine is:@"C:\1\testFile.txt". You set your own.
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
[QUOTE=Mitja Bonca;1413211]I have tried your text and it works good. You have to set your own path (full path) to the file. Mine is:@"C:\1\testFile.txt". You set your own.[/QUOTE] I have set my own. It's not a path error I'm getting. Look at last error I posted. i do not know why it is not working.
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
As I said, I have put your text into my file, and it all works fine. No errors at all. I dont know what can be wrong on our side.
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by mcmc1212
[QUOTE=Mitja Bonca;1413211]I have tried your text and it works good. You have to set your own path (full path) to the file. Mine is:@"C:\1\testFile.txt". You set your own.[/QUOTE] Could this be the problem? Last question sorry. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using …
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
If this is the error, that means that one of 2 arrays (array[0] or array[1]) but mostly would be array[1] cannot get filled, becuase there is no data for it. Thats means that in the "line" there was no comma (,) and the string couldnt get splitted. There is only one string - but the adding code requires 2 strings. Please check your file,…
Re: How to make output in columnar format
Programming
Software Development
13 Years Ago
by Mitja Bonca
This how: [CODE] class Program { static void Main(string[] args) { Dictionary<string, string> dir = new Dictionary<string, string>(); using (StreamReader sr = new StreamReader(@"C:\1\testFile.txt")) { while (!sr.EndOfStream) {…
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
sorry forgot to give example Suppose we have data abcdef and user inputs no of colunns as 2 then our data would be a b c d e f And encrypted would be acebdf please help me out if you understand problem. F.seek(10) is used for internal purpose to save files extension
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by java_programmer
Please write down what error you are getting.
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by Taywin
I'm not sure how your algorithm in your code work... You tends to manipulate file content instead of read the whole thing, work with it, then write out the whole thing. It would be much easier to deal with the whole string all at once because you will iterate through the string only once O(n) to get the encryption done. The way you are doing is odd…
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
I will give you an example! ORIGINAL FILE CONTENT [code] String q,z; q=z=""; q+=temp; z+=temp; System.out.println("b4 Encryption Q value\n"+q+"\n"); System.out.println("afr encryption Z value\n"+z+"\n"); String q,z; q=z=""; q+=temp; z+=temp; System.out.println("b4 Decryption Q …
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
please someone help me out finding error :(
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
I was trying it other way .. I read the bytes from file and concatenated to a string , after that i did convert that string to byte array and tried to write bytes by f.write() as well as f.writeByte() but both the things are writting only INTEGER values. Please what to do help , it's very urgent!
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by Taywin
If you want to write a char, use writeChar(int) instead...
Re: Simple Columnar Encryption problem!
Programming
Software Development
13 Years Ago
by mandy011
I solved this problem by setting the decrypted file length to encrypted file length-10. It was attaching some garbage characters at the end after decryption. But problem is solved . Thanks :) Mods can close this thread!
can solve this code? i m using quincy 2005
Programming
Software Development
17 Years Ago
by louis7370
…> #include<conio.h> ofstream Ofil("ROW-
COLUMNAR
.DAT",ios::app); class application { private: int number; char…;<endl; } void display_data() { char appl; ifstream Ifill("ROW-
COLUMNAR
.DAT",ios::app); while(Ifill) { Ifill.getline(appl); cout…
cards.dll via qcard32.dll
Programming
Software Development
18 Years Ago
by jacobi
… Enable and Disable on the cards below nTopCard in my
columnar
card arrays but this does not work for my purposes…
combine janascript and php
Programming
Web Development
17 Years Ago
by Lbruce
Hi there, i retrieve a data set from a mysql database and i store it in a javascript array. What I cannot figure out is how to provide users with a drop down menu with two options and based on what they select, different records from the data set will be displayed in a
columnar
table. I would appreciate any help. Thanks.
Right align tab question
Programming
Software Development
17 Years Ago
by jakeneff
… be gentle, please. I'm trying to set up a
columnar
structure to output to the console with tabs in between…
text program help needed
Programming
Software Development
16 Years Ago
by cbrown153
… trying to write a program that can print text in
columnar
format with a maximum width. I've been trying with…
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC