I have a bioinformatics program that i want a GUI added to it. I just discoverd QT and I'm told it uses C++ code but when I analyze QT code it looks a heck of alot different from C++. where can I go to find the QT equivalent of my code or where is the best place to learn?

this is my code I'm trying to convert
does anybody have any tips on how to or how can I make this happen?

Qt Code:
  1. #include<iostream>
  2. #include<fstream>
  3. #include<cstdlib>
  4. #include <string>
  5. using namespace std;
  6. int input;
  7. int main()
  8. {
  9.  
  10. cout<<"please enter a file name"<<endl;
  11. char filename[50];
  12. ifstream seq;
  13. cin.getline(filename, 50);
  14. seq.open(filename);
  15.  
  16. if(!seq.is_open()){
  17. exit(EXIT_FAILURE);
  18. }
  19.  
  20. char DNA[50];
  21. char RNA[50];
  22. seq>>DNA;
  23.  
  24. cout<< DNA <<" "<<endl;
  25.  
  26. int len=0;
  27. for(int i=0; i<=sizeof(DNA); i++){
  28.  
  29. if (DNA[i] == 'A')
  30. {cout<<"U";
  31. RNA[i]='U';
  32. len++;
  33. }
  34. if (DNA[i] == 'G')
  35. {cout<<"C";
  36. RNA[i]='C';
  37. len++;
  38. }
  39. if (DNA[i] == 'C')
  40. {cout<<"G";
  41. RNA[i]='G';
  42. len++;
  43. }
  44.  
  45. if (DNA[i] == 'T')
  46. {cout<<"A";
  47. RNA[i]='A';
  48. len++;
  49. }
  50. }
  51. cout<<endl;
  52. for(int i=0; i<len; i++){
  53. cout<<RNA[i];
  54. }
  55. cout<<endl<<sizeof(DNA)<<endl;
  56. cout<<len<<endl;
  57. fstream file;
  58. file.open("RNA_DNASeq.txt",ios::out);
  59. file<<DNA<<endl<<RNA<<endl;
  60. file.close();
  61.  
  62. system("PAUSE");
  63. return 0;
  64. }
To copy to clipboard, switch view to plain text mode